diff options
author | Notkea | 2020-01-31 18:09:33 +0100 |
---|---|---|
committer | GitHub | 2020-01-31 18:09:33 +0100 |
commit | 245fee3fe5abdc6ad14513ef6522446aba4c905a (patch) | |
tree | 749ec466c404499f19d571834262b87c14f0d0af /viewer/src/views/MainGallery.vue | |
parent | d94b987463169b254ab69a79ddb58e5beccb0941 (diff) | |
parent | be8ec3edaed843f08dac3d2bf2f10f7247ef3d3a (diff) | |
download | ldgallery-245fee3fe5abdc6ad14513ef6522446aba4c905a.tar.gz |
Merge pull request #68 from pacien/oz-viewer
Diffstat (limited to 'viewer/src/views/MainGallery.vue')
-rw-r--r-- | viewer/src/views/MainGallery.vue | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/viewer/src/views/MainGallery.vue b/viewer/src/views/MainGallery.vue index 06cf512..5767cce 100644 --- a/viewer/src/views/MainGallery.vue +++ b/viewer/src/views/MainGallery.vue | |||
@@ -21,21 +21,23 @@ | |||
21 | <div> | 21 | <div> |
22 | <gallery-search v-if="$uiStore.isModeSearch" :items="currentSearch" /> | 22 | <gallery-search v-if="$uiStore.isModeSearch" :items="currentSearch" /> |
23 | <gallery-directory v-else-if="checkType('directory')" :directory="$galleryStore.currentItem" /> | 23 | <gallery-directory v-else-if="checkType('directory')" :directory="$galleryStore.currentItem" /> |
24 | <gallery-picture v-else-if="checkType('picture')" :picture="$galleryStore.currentItem" /> | 24 | <ld-picture v-else-if="checkType('picture')" :picture="$galleryStore.currentItem" /> |
25 | <div v-else>{{$t("gallery.unknowntype")}}</div> | 25 | <div v-else>{{$t("gallery.unknowntype")}}</div> |
26 | </div> | 26 | </div> |
27 | </template> | 27 | </template> |
28 | 28 | ||
29 | <script lang="ts"> | 29 | <script lang="ts"> |
30 | import { Component, Vue, Prop, Watch } from "vue-property-decorator"; | 30 | import { Component, Vue, Prop, Watch } from "vue-property-decorator"; |
31 | import { Operation } from "@/@types/tag/Operation"; | 31 | import { Operation } from "@/@types/Operation"; |
32 | import Tools from "@/tools"; | 32 | import Tools from "@/tools"; |
33 | import GallerySearch from "./GallerySearch.vue"; | 33 | import GallerySearch from "./GallerySearch.vue"; |
34 | import GalleryDirectory from "./GalleryDirectory.vue"; | 34 | import GalleryDirectory from "./GalleryDirectory.vue"; |
35 | import GalleryPicture from "./GalleryPicture.vue"; | ||
36 | 35 | ||
37 | @Component({ | 36 | @Component({ |
38 | components: { GallerySearch, GalleryDirectory, GalleryPicture }, | 37 | components: { |
38 | GallerySearch, | ||
39 | GalleryDirectory, | ||
40 | }, | ||
39 | }) | 41 | }) |
40 | export default class Gallery extends Vue { | 42 | export default class Gallery extends Vue { |
41 | @Prop(String) readonly pathMatch!: string; | 43 | @Prop(String) readonly pathMatch!: string; |