Skip to content

Commit

Permalink
fix: Use new viewer api to open files again after open locally
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr authored and backportbot[bot] committed Mar 14, 2024
1 parent 3f99f11 commit a2843d2
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 a2843d2

Please sign in to comment.