diff options
Diffstat (limited to 'viewer/src/views')
-rw-r--r-- | viewer/src/views/MainLayout.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index 7a75eb1..f608b9d 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue | |||
@@ -19,9 +19,9 @@ | |||
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <div :class="{fullscreen: $uiStore.fullscreen}"> | 21 | <div :class="{fullscreen: $uiStore.fullscreen}"> |
22 | <panel-top class="layout layout-top" /> | 22 | <panel-top v-if="!isLoading" class="layout layout-top" /> |
23 | <panel-left class="layout layout-left" /> | 23 | <panel-left v-if="!isLoading" class="layout layout-left" /> |
24 | <router-view class="layout layout-content scrollbar" /> | 24 | <router-view v-if="!isLoading" class="layout layout-content scrollbar" /> |
25 | <b-loading :active="isLoading" is-full-page /> | 25 | <b-loading :active="isLoading" is-full-page /> |
26 | </div> | 26 | </div> |
27 | </template> | 27 | </template> |
@@ -35,7 +35,7 @@ import PanelTop from "./PanelTop.vue"; | |||
35 | components: { PanelLeft, PanelTop }, | 35 | components: { PanelLeft, PanelTop }, |
36 | }) | 36 | }) |
37 | export default class MainLayout extends Vue { | 37 | export default class MainLayout extends Vue { |
38 | isLoading: boolean = false; | 38 | isLoading: boolean = true; |
39 | 39 | ||
40 | mounted() { | 40 | mounted() { |
41 | this.fetchGalleryItems(); | 41 | this.fetchGalleryItems(); |