diff options
Diffstat (limited to 'viewer/src/views/layout/top/LayoutTop.vue')
-rw-r--r-- | viewer/src/views/layout/top/LayoutTop.vue | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/viewer/src/views/layout/top/LayoutTop.vue b/viewer/src/views/layout/top/LayoutTop.vue index b755c42..02c8b7b 100644 --- a/viewer/src/views/layout/top/LayoutTop.vue +++ b/viewer/src/views/layout/top/LayoutTop.vue | |||
@@ -18,8 +18,14 @@ | |||
18 | --> | 18 | --> |
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <div class="flex"> | 21 | <div |
22 | <LayoutCommand :current-item-path="galleryStore.currentItemPath" /> | 22 | v-if="galleryStore.currentItem" |
23 | class="flex" | ||
24 | > | ||
25 | <LayoutCommand | ||
26 | :current-item-path="galleryStore.currentItemPath" | ||
27 | :item="galleryStore.currentItem" | ||
28 | /> | ||
23 | <LayoutBreadcrumb | 29 | <LayoutBreadcrumb |
24 | :current-item-path="galleryStore.currentItemPath" | 30 | :current-item-path="galleryStore.currentItemPath" |
25 | :search-mode="uiStore.searchMode" | 31 | :search-mode="uiStore.searchMode" |