Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when opening files that contain links #1676

Closed
juliusknorr opened this issue Jun 22, 2021 · 1 comment · Fixed by #1775 or #1776
Closed

Issue when opening files that contain links #1676

juliusknorr opened this issue Jun 22, 2021 · 1 comment · Fixed by #1775 or #1776
Labels
bug Something isn't working

Comments

@juliusknorr
Copy link
Member

image

@juliusknorr juliusknorr added the bug Something isn't working label Jun 22, 2021
@azul
Copy link
Contributor

azul commented Jul 18, 2021

Looks like the accessor to state was removed from the Viewer api:
nextcloud/viewer@dbfa6bc#diff-c29528ea58a2d0307765d4357b88c9a469c148ccca2d82b653dbb97290ab6ab1L52-L63
and replaced with separate getters:
nextcloud/viewer@dbfa6bc#diff-c29528ea58a2d0307765d4357b88c9a469c148ccca2d82b653dbb97290ab6ab1R79-R81

So we need to replace OCA.Viewer.state.file with OCA.Viewer.file.

azul added a commit that referenced this issue Jul 18, 2021
Looks like the [accessor to state] was removed from the Viewer api
and replaced with [separate getters].

So we need to replace `OCA.Viewer.state.file` with `OCA.Viewer.file`.

Fixes #1676

[accessor to state]: (nextcloud/viewer@dbfa6bc#diff-c29528ea58a2d0307765d4357b88c9a469c148ccca2d82b653dbb97290ab6ab1L52-L63)
[separate getters]: (nextcloud/viewer@dbfa6bc#diff-c29528ea58a2d0307765d4357b88c9a469c148ccca2d82b653dbb97290ab6ab1R79-R81)

Signed-off-by: Azul <[email protected]>
juliusknorr pushed a commit that referenced this issue Jul 19, 2021
Looks like the [accessor to state] was removed from the Viewer api
and replaced with [separate getters].

So we need to replace `OCA.Viewer.state.file` with `OCA.Viewer.file`.

Fixes #1676

[accessor to state]: (nextcloud/viewer@dbfa6bc#diff-c29528ea58a2d0307765d4357b88c9a469c148ccca2d82b653dbb97290ab6ab1L52-L63)
[separate getters]: (nextcloud/viewer@dbfa6bc#diff-c29528ea58a2d0307765d4357b88c9a469c148ccca2d82b653dbb97290ab6ab1R79-R81)

Signed-off-by: Azul <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants