diff --git a/apps/web/src/common/modules/page-layouts/VerticalPageLayout.vue b/apps/web/src/common/modules/page-layouts/VerticalPageLayout.vue index af9d8e3b3a..5c540d9aa6 100644 --- a/apps/web/src/common/modules/page-layouts/VerticalPageLayout.vue +++ b/apps/web/src/common/modules/page-layouts/VerticalPageLayout.vue @@ -9,6 +9,9 @@ import { PVerticalLayout } from '@cloudforet/mirinae'; import { useGlobalUIStore } from '@/store/global-ui/global-ui-store'; +import { MENU_ID } from '@/lib/menu/config'; + +import { useCurrentMenuId } from '@/common/composables/current-menu-id'; import FNB from '@/common/modules/navigations/FNB.vue'; import { useGnbStore } from '@/common/modules/navigations/stores/gnb-store'; import type { Breadcrumb } from '@/common/modules/page-layouts/type'; @@ -35,6 +38,9 @@ const { width: contentsWidth } = useElementSize(contentRef); const storeState = reactive({ isMinimizeNavRail: computed(() => gnbGetters.isMinimizeNavRail), }); + +const { currentMenuId } = useCurrentMenuId(); + const state = reactive({ padding: computed(() => { if (contentsWidth.value <= 1920) return '0'; @@ -52,10 +58,14 @@ watch(() => props.breadcrumbs, () => {