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

Azul/fix links 1676 #1775

Merged
merged 1 commit into from
Jul 19, 2021
Merged

Azul/fix links 1676 #1775

merged 1 commit into from
Jul 19, 2021

Conversation

azul
Copy link
Contributor

@azul azul commented Jul 18, 2021

Summary

Update use of OCA.Viewer api to the nextcloud 22 version

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.

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]>
@azul azul changed the base branch from master to stable22 July 18, 2021 09:42
@azul azul requested a review from juliusknorr July 19, 2021 06:04
@juliusknorr
Copy link
Member

Drone seems confused about the stable22 branch change.

@azul The usual flow would be to have a PR against master and then do the backport but let me forward port that one then for now.

@juliusknorr juliusknorr merged commit 76b57f6 into stable22 Jul 19, 2021
@juliusknorr juliusknorr deleted the azul/fix-links-1676 branch July 19, 2021 06:15
@juliusknorr
Copy link
Member

/backport to master

@backportbot-nextcloud
Copy link

The backport to master failed. Please do this backport manually.

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
Development

Successfully merging this pull request may close these issues.

Issue when opening files that contain links
2 participants