diff options
author | Zero~Informatique | 2020-01-31 09:17:57 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-01-31 09:27:06 +0100 |
commit | 170da2d55fec0359cbac780786383710b734eda7 (patch) | |
tree | eb6fe6f60e9b83a9e5886b504aa65521711fd4a3 /viewer/src/views/GalleryDirectory.vue | |
parent | a7d459a2620fa9523dd7ce8c9de519133ad5b1b7 (diff) | |
download | ldgallery-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.vue | 8 |
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"> |
34 | import { Component, Vue, Prop } from "vue-property-decorator"; | 34 | import { Component, Vue, Prop } from "vue-property-decorator"; |
35 | import Tools from "@/tools"; | 35 | import Tools from "@/tools"; |
36 | import GalleryThumbnail from "./GalleryThumbnail.vue"; | ||
37 | import Gallery from "./Gallery.vue"; | ||
38 | 36 | ||
39 | @Component({ | 37 | @Component |
40 | components: { GalleryThumbnail }, | ||
41 | }) | ||
42 | export default class GalleryDirectory extends Vue { | 38 | export default class GalleryDirectory extends Vue { |
43 | @Prop({ required: true }) readonly directory!: Gallery.Directory; | 39 | @Prop({ required: true }) readonly directory!: Gallery.Directory; |
44 | 40 | ||