diff options
author | Zero~Informatique | 2020-02-28 18:50:12 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-28 18:50:12 +0100 |
commit | 7f0b8367a2092c5ffd69e9e46d055cbd605c0e3a (patch) | |
tree | c7621a6e00610e1d1d1b2564203908cd119ca99b /viewer/src/components/LdGallery.vue | |
parent | fe699fb16018aa22b121b48a85ef228f4b5c6bfd (diff) | |
download | ldgallery-7f0b8367a2092c5ffd69e9e46d055cbd605c0e3a.tar.gz |
viewer: more minor architectural and performance improvement
Diffstat (limited to 'viewer/src/components/LdGallery.vue')
-rw-r--r-- | viewer/src/components/LdGallery.vue | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/viewer/src/components/LdGallery.vue b/viewer/src/components/LdGallery.vue index 16e9f7c..cd4bc28 100644 --- a/viewer/src/components/LdGallery.vue +++ b/viewer/src/components/LdGallery.vue | |||
@@ -19,11 +19,9 @@ | |||
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <div class="thumbnail-tiles"> | 21 | <div class="thumbnail-tiles"> |
22 | <div v-for="item in items" :key="item.path"> | 22 | <router-link v-for="item in items" :key="item.path" :to="item.path"> |
23 | <router-link :to="item.path"> | 23 | <ld-thumbnail :item="item" /> |
24 | <ld-thumbnail :item="item" /> | 24 | </router-link> |
25 | </router-link> | ||
26 | </div> | ||
27 | <div v-if="hasNoResults()" class="noresult">{{noresult}}</div> | 25 | <div v-if="hasNoResults()" class="noresult">{{noresult}}</div> |
28 | </div> | 26 | </div> |
29 | </template> | 27 | </template> |