Skip to content

Commit 4bc184c

Browse files
Load Navigation Items after checking model type (#160)
- Seems that both the Nav Items and model type is checked simultaneously, sometimes might miss Concurrent maintenance page to be listed. Fixing that in this change. Signed-off-by: Nikhil Ashoka <[email protected]>
1 parent 68b0643 commit 4bc184c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/AppNavigation/AppNavigation.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div>
2+
<div v-if="modelType !== '--'">
33
<div class="nav-container" :class="{ open: isNavigationOpen }">
44
<nav ref="nav" :aria-label="$t('appNavigation.primaryNavigation')">
55
<b-nav vertical class="mb-4">
@@ -70,6 +70,9 @@ export default {
7070
};
7171
},
7272
computed: {
73+
modelType() {
74+
return this.$store?.getters['global/modelType'];
75+
},
7376
currentUser() {
7477
return this.$store?.getters['global/currentUser'];
7578
},

0 commit comments

Comments
 (0)