Skip to content

Commit

Permalink
Fix fileId type
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
skjnldsv authored and nextcloud-command committed Sep 8, 2022
1 parent 6b54dc1 commit ebb5ead
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 ebb5ead

Please sign in to comment.