aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdThumbnail.vue
diff options
context:
space:
mode:
authorZero~Informatique2020-02-02 05:01:17 +0100
committerZero~Informatique2020-02-02 05:01:17 +0100
commit0697693934c700f50bcc45ad58ab0b8f0370561c (patch)
treeb14967ddf4dfa3159e02c057e42aebeee6a8f947 /viewer/src/components/LdThumbnail.vue
parent7dde692101a7e36e0a431aeb864cbf3a0c0e96f8 (diff)
downloadldgallery-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.vue2
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() {