Skip to content

Commit

Permalink
Fix fileId type
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
skjnldsv authored and nextcloud-command committed Sep 20, 2022
1 parent 50de55a commit 242fb05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/mixins/Mime.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default {
},
// unique file id
fileid: {
type: Number,
type: [Number, String],
required: true,
},
// list of all the visible files
Expand Down

0 comments on commit 242fb05

Please sign in to comment.