Skip to content

Commit fc2234d

Browse files
authored
Merge pull request #410 from nextcloud/azul-update-viewer-syntax
Use new viewer syntax with destructuring object
2 parents 3e2c8f7 + 0db9996 commit fc2234d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

β€Žjs/dashboard.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žjs/dashboard.js.mapβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žjs/main.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žjs/main.js.mapβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žsrc/components/RecommendedFile.vueβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default {
139139
},
140140
navigate() {
141141
if (OCA.Viewer && OCA.Viewer.mimetypes.indexOf(this.mimeType) !== -1) {
142-
OCA.Viewer.open(this.path)
142+
OCA.Viewer.open({ path: this.path })
143143
return
144144
}
145145
if (this.isFileListAvailable) {

0 commit comments

Comments
Β (0)