diff options
author | Zero~Informatique | 2020-02-02 05:01:17 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-02 05:01:17 +0100 |
commit | 0697693934c700f50bcc45ad58ab0b8f0370561c (patch) | |
tree | b14967ddf4dfa3159e02c057e42aebeee6a8f947 /viewer/src/components/LdThumbnail.vue | |
parent | 7dde692101a7e36e0a431aeb864cbf3a0c0e96f8 (diff) | |
download | ldgallery-0697693934c700f50bcc45ad58ab0b8f0370561c.tar.gz |
viewer: adaptation to the thumbnail's new structure
Diffstat (limited to 'viewer/src/components/LdThumbnail.vue')
-rw-r--r-- | viewer/src/components/LdThumbnail.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue index 44a4c00..d9343dd 100644 --- a/viewer/src/components/LdThumbnail.vue +++ b/viewer/src/components/LdThumbnail.vue | |||
@@ -45,7 +45,7 @@ export default class LdThumbnail extends Vue { | |||
45 | loading: boolean = false; | 45 | loading: boolean = false; |
46 | 46 | ||
47 | pictureSrc() { | 47 | pictureSrc() { |
48 | return `${process.env.VUE_APP_DATA_URL}${this.item.thumbnail}`; | 48 | if (this.item.thumbnail) return `${process.env.VUE_APP_DATA_URL}${this.item.thumbnail.resource}`; |
49 | } | 49 | } |
50 | 50 | ||
51 | getIcon() { | 51 | getIcon() { |