aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/GalleryNavigation.vue
diff options
context:
space:
mode:
authorZero~Informatique2021-07-02 22:53:16 +0200
committerZero~Informatique2021-07-03 00:05:22 +0200
commit9165cc1efcf7791f78b61b2c51a9de651b1b09aa (patch)
tree111cfdc74ddaf7b19ff27508f16ab84694b27670 /viewer/src/views/GalleryNavigation.vue
parent08ac32103fb5f8cca1861267dfd07a7c0d2faf62 (diff)
downloadldgallery-9165cc1efcf7791f78b61b2c51a9de651b1b09aa.tar.gz
viewer: types normalization - gallery.d.ts
GitHub: closes #301
Diffstat (limited to 'viewer/src/views/GalleryNavigation.vue')
-rw-r--r--viewer/src/views/GalleryNavigation.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/viewer/src/views/GalleryNavigation.vue b/viewer/src/views/GalleryNavigation.vue
index 69198f6..8bb225a 100644
--- a/viewer/src/views/GalleryNavigation.vue
+++ b/viewer/src/views/GalleryNavigation.vue
@@ -26,10 +26,10 @@
26</template> 26</template>
27 27
28<script lang="ts"> 28<script lang="ts">
29import { Component, Vue, Prop, Watch } from "vue-property-decorator";
30import { ItemType } from "@/@types/ItemType"; 29import { ItemType } from "@/@types/ItemType";
31import Navigation from "@/services/navigation"; 30import Navigation from "@/services/navigation";
32import GallerySearch from "@/views/GallerySearch.vue"; 31import GallerySearch from "@/views/GallerySearch.vue";
32import { Component, Prop, Vue, Watch } from "vue-property-decorator";
33 33
34@Component({ 34@Component({
35 components: { 35 components: {
@@ -41,13 +41,13 @@ export default class GalleryNavigation extends Vue {
41 @Prop(Array) readonly query!: string[]; 41 @Prop(Array) readonly query!: string[];
42 42
43 readonly COMPONENT_BY_TYPE: Record<ItemType, string> = { 43 readonly COMPONENT_BY_TYPE: Record<ItemType, string> = {
44 directory: "ld-directory", 44 directory: "ld-directory-viewer",
45 picture: "ld-picture", 45 picture: "ld-picture-viewer",
46 plaintext: "ld-plain-text-viewer", 46 plaintext: "ld-plain-text-viewer",
47 pdf: "ld-pdf-viewer", 47 pdf: "ld-pdf-viewer",
48 video: "ld-video-viewer", 48 video: "ld-video-viewer",
49 audio: "ld-audio-viewer", 49 audio: "ld-audio-viewer",
50 other: "ld-download", 50 other: "ld-download-viewer",
51 }; 51 };
52 52
53 mounted() { 53 mounted() {