Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use new viewer syntax with destructuring object
With nextcloud/viewer#936 and Nextcloud 22 the old syntax will not be supported anymore.

Signed-off-by: Azul <[email protected]>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
  • Loading branch information
azul authored and npmbuildbot-nextcloud[bot] committed Jun 5, 2021
commit 0db9996847101d4a368cb95e7916f9409c5f3ff9
2 changes: 1 addition & 1 deletion js/dashboard.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dashboard.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/RecommendedFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default {
},
navigate() {
if (OCA.Viewer && OCA.Viewer.mimetypes.indexOf(this.mimeType) !== -1) {
OCA.Viewer.open(this.path)
OCA.Viewer.open({ path: this.path })
return
}
if (this.isFileListAvailable) {
Expand Down