diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index ef5bdc6ac..040dde628 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -61,6 +61,7 @@ onMounted(() => stateStore.setMounted()); /> +
diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 07992f616..a71498206 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -314,7 +314,11 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) { show-if-above > - + +import { useI18n } from 'vue-i18n'; +import { useStateStore } from 'stores/useStateStore'; +import { useHasContent } from 'src/composables/useHasContent'; +import { watch } from 'vue'; + +const { t } = useI18n(); +const stateStore = useStateStore(); +const hasContent = useHasContent('#advanced-menu'); + +const $props = defineProps({ + isMainSection: { + type: Boolean, + default: false, + }, +}); + +watch( + () => $props.isMainSection, + (val) => { + if (stateStore) stateStore.rightAdvancedDrawer = val; + }, + { immediate: true } +); + + diff --git a/src/components/common/RightMenu.vue b/src/components/common/RightMenu.vue index 9512d32d4..1eded089e 100644 --- a/src/components/common/RightMenu.vue +++ b/src/components/common/RightMenu.vue @@ -17,7 +17,7 @@ onMounted(() => { }); - - - - - - - - - - - - - - - - - - + +