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 <jus@bitgrid.net>
  • Loading branch information
juliushaertl authored and backportbot[bot] committed Mar 14, 2024
1 parent 3f99f11 commit 2f64cab
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 2f64cab

Please sign in to comment.