Skip to content

Commit

Permalink
Merge pull request #1366 from nextcloud/fix/fileid
Browse files Browse the repository at this point in the history
Fix fileId type
  • Loading branch information
skjnldsv authored Sep 20, 2022
2 parents 50de55a + 242fb05 commit e91c676
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 e91c676

Please sign in to comment.