Skip to content

Commit

Permalink
Avoid using source if previewUrl is set
Browse files Browse the repository at this point in the history
Signed-off-by: Dariusz Olszewski <[email protected]>
  • Loading branch information
starypatyk authored and szaimen committed Feb 1, 2023
1 parent c499044 commit e4d56de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Images.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default {
// If there is no preview and we have a direct source
// load it instead
if (this.source && !this.hasPreview) {
if (this.source && !this.hasPreview && !this.previewUrl) {
return this.source
}
Expand Down

0 comments on commit e4d56de

Please sign in to comment.