Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix(shares): fix preview size for uploaded non-media files
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy authored and backportbot-nextcloud[bot] committed Dec 11, 2023
commit 9048443c72a731525aef7b06e9eb146ca0a19df5
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ export default {
},

fallbackLocalUrl() {
if (!this.mimetype.startsWith('image/') && !this.mimetype.startsWith('video/')) {
return undefined
}
return this.$store.getters.getLocalUrl(this.referenceId)
},

Expand Down