aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/GalleryDirectory.vue
diff options
context:
space:
mode:
authorZero~Informatique2020-01-31 09:17:57 +0100
committerZero~Informatique2020-01-31 09:27:06 +0100
commit170da2d55fec0359cbac780786383710b734eda7 (patch)
treeeb6fe6f60e9b83a9e5886b504aa65521711fd4a3 /viewer/src/views/GalleryDirectory.vue
parenta7d459a2620fa9523dd7ce8c9de519133ad5b1b7 (diff)
downloadldgallery-170da2d55fec0359cbac780786383710b734eda7.tar.gz
viewer: code cleaning, moved some views to components
Diffstat (limited to 'viewer/src/views/GalleryDirectory.vue')
-rw-r--r--viewer/src/views/GalleryDirectory.vue8
1 files changed, 2 insertions, 6 deletions
diff --git a/viewer/src/views/GalleryDirectory.vue b/viewer/src/views/GalleryDirectory.vue
index d01032d..baf627e 100644
--- a/viewer/src/views/GalleryDirectory.vue
+++ b/viewer/src/views/GalleryDirectory.vue
@@ -21,7 +21,7 @@
21 <div class="thumbnail-tiles"> 21 <div class="thumbnail-tiles">
22 <div v-for="(item) in orderedItems" :key="item.path"> 22 <div v-for="(item) in orderedItems" :key="item.path">
23 <router-link :to="item.path"> 23 <router-link :to="item.path">
24 <gallery-thumbnail :item="item" /> 24 <ld-thumbnail :item="item" />
25 </router-link> 25 </router-link>
26 </div> 26 </div>
27 <div> 27 <div>
@@ -33,12 +33,8 @@
33<script lang="ts"> 33<script lang="ts">
34import { Component, Vue, Prop } from "vue-property-decorator"; 34import { Component, Vue, Prop } from "vue-property-decorator";
35import Tools from "@/tools"; 35import Tools from "@/tools";
36import GalleryThumbnail from "./GalleryThumbnail.vue";
37import Gallery from "./Gallery.vue";
38 36
39@Component({ 37@Component
40 components: { GalleryThumbnail },
41})
42export default class GalleryDirectory extends Vue { 38export default class GalleryDirectory extends Vue {
43 @Prop({ required: true }) readonly directory!: Gallery.Directory; 39 @Prop({ required: true }) readonly directory!: Gallery.Directory;
44 40