Skip to content

Commit

Permalink
Merge pull request #3524 from nextcloud/fix/viewer-open-locally
Browse files Browse the repository at this point in the history
fix: Use new viewer api to open files again after open locally
  • Loading branch information
juliushaertl committed Mar 14, 2024
2 parents 509ad59 + d646f67 commit 2115eaa
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 2115eaa

Please sign in to comment.