diff options
Diffstat (limited to 'viewer/src/components/LdBreadcrumb.vue')
-rw-r--r-- | viewer/src/components/LdBreadcrumb.vue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/viewer/src/components/LdBreadcrumb.vue b/viewer/src/components/LdBreadcrumb.vue index 618b15a..2c17554 100644 --- a/viewer/src/components/LdBreadcrumb.vue +++ b/viewer/src/components/LdBreadcrumb.vue | |||
@@ -47,13 +47,14 @@ | |||
47 | </template> | 47 | </template> |
48 | 48 | ||
49 | <script lang="ts"> | 49 | <script lang="ts"> |
50 | import { Component, Vue, Ref, Watch, Prop } from "vue-property-decorator"; | 50 | import { Item } from "@/@types/gallery"; |
51 | import DragScrollClickFix from "@/services/dragscrollclickfix"; | 51 | import DragScrollClickFix from "@/services/dragscrollclickfix"; |
52 | import Navigation from "@/services/navigation"; | 52 | import Navigation from "@/services/navigation"; |
53 | import { Component, Prop, Ref, Vue, Watch } from "vue-property-decorator"; | ||
53 | 54 | ||
54 | @Component | 55 | @Component |
55 | export default class LdBreadcrumb extends Vue { | 56 | export default class LdBreadcrumb extends Vue { |
56 | @Prop({ type: Array, required: true }) readonly currentItemPath!: Gallery.Item[]; | 57 | @Prop({ type: Array, required: true }) readonly currentItemPath!: Item[]; |
57 | @Prop(Boolean) readonly searchMode!: boolean; | 58 | @Prop(Boolean) readonly searchMode!: boolean; |
58 | @Ref() readonly breadcrumb!: HTMLUListElement; | 59 | @Ref() readonly breadcrumb!: HTMLUListElement; |
59 | 60 | ||
@@ -82,7 +83,7 @@ export default class LdBreadcrumb extends Vue { | |||
82 | }); | 83 | }); |
83 | } | 84 | } |
84 | 85 | ||
85 | getIcon(item: Gallery.Item) { | 86 | getIcon(item: Item) { |
86 | return Navigation.getIcon(item); | 87 | return Navigation.getIcon(item); |
87 | } | 88 | } |
88 | } | 89 | } |