Skip to content

Commit

Permalink
mediaviewer: fix preview images when no etag is available
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmidt committed Feb 19, 2022
1 parent 21e0a88 commit ac8bfac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/web-app-media-viewer/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ export default {
x: this.thumbDimensions,
y: this.thumbDimensions,
// strip double quotes from etag
c: this.activeMediaFile.etag.substr(1, this.activeMediaFile.etag.length - 2),
// we have no etag, e.g. on shared with others page
c: this.activeMediaFile.etag?.substr(1, this.activeMediaFile.etag.length - 2),
scalingup: 0,
preview: 1,
a: 1
Expand Down

0 comments on commit ac8bfac

Please sign in to comment.