Skip to content

Commit

Permalink
Merge pull request #3526 from nextcloud/backport/3524/stable28
Browse files Browse the repository at this point in the history
[stable28] fix: Use new viewer api to open files again after open locally
  • Loading branch information
juliushaertl committed Mar 21, 2024
2 parents 833ab94 + a2843d2 commit 3a99db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/openLocal.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default {
},
(decision) => {
if (!decision) {
window.OCA.Viewer.open(fileName)
window.OCA.Viewer.open({ path: fileName })
return
}
this.openingLocally = true
Expand Down

0 comments on commit 3a99db1

Please sign in to comment.