aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdThumbnail.vue
diff options
context:
space:
mode:
authorZero~Informatique2020-06-20 16:50:49 +0200
committerOzoneGrif2020-06-28 14:11:13 +0200
commit170d7a61f720ece9dc4b347b19f5a8213f1d8984 (patch)
tree3a7af0595faea4a98437f8f73b3172529bda3a1d /viewer/src/components/LdThumbnail.vue
parent06355c9cebce469d3d827d48043387144c2458a5 (diff)
downloadldgallery-170d7a61f720ece9dc4b347b19f5a8213f1d8984.tar.gz
viewer: prettier formatting based on eslint-prettier plugin
Diffstat (limited to 'viewer/src/components/LdThumbnail.vue')
-rw-r--r--viewer/src/components/LdThumbnail.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue
index 0ddeb6b..5b1bc82 100644
--- a/viewer/src/components/LdThumbnail.vue
+++ b/viewer/src/components/LdThumbnail.vue
@@ -18,20 +18,20 @@
18--> 18-->
19 19
20<template> 20<template>
21 <div :class="{'preload': loading}"> 21 <div :class="{ preload: loading }">
22 <v-lazy-image 22 <v-lazy-image
23 v-if="item.thumbnail" 23 v-if="item.thumbnail"
24 :src="pictureSrc(item.thumbnail.resource)" 24 :src="pictureSrc(item.thumbnail.resource)"
25 :style="pictureStyle" 25 :style="pictureStyle"
26 :title="item.title" 26 :title="item.title"
27 @intersect="loading=true" 27 @intersect="loading = true"
28 @load="loading=false" 28 @load="loading = false"
29 /> 29 />
30 <div v-else class="thumbnail-other flex-column flex-center"> 30 <div v-else class="thumbnail-other flex-column flex-center">
31 <div> 31 <div>
32 <fa-icon :icon="icon" size="4x" /> 32 <fa-icon :icon="icon" size="4x" />
33 </div> 33 </div>
34 {{item.title}} 34 {{ item.title }}
35 </div> 35 </div>
36 </div> 36 </div>
37</template> 37</template>