diff --git a/src/router/index.ts b/src/router/index.ts index 41414ba..efc7cdc 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -24,9 +24,6 @@ function applyAppModeMeta(route: RouteRecordRaw, appName: string | null) { if (child.name === 'discounts' && child.meta) { child.meta.hideMenu = store || appName !== 'goldsun' } - if (child.name === 'banners' && child.meta) { - child.meta.hideMenu = appName !== 'garoosi' - } if (child.name === 'pricingMain' && child.meta) { child.meta.title = 'تاریخچه قیمت' } @@ -39,7 +36,6 @@ function filterRoutesByApp(routes: RouteRecordRaw, appName: string | null) { routes.children = routes.children.filter((item) => { if (item.name === 'discounts' && (isStoreApp() || appName !== 'goldsun')) return false - if (item.name === 'banners' && appName !== 'garoosi') return false if (item.name === 'authentication' && appName !== 'garoosi') return false if (item.name === 'giftCardMain' && !isStoreApp() && appName !== 'garoosi') return false diff --git a/src/router/routes/setting.ts b/src/router/routes/setting.ts index c01b53b..67db0bc 100644 --- a/src/router/routes/setting.ts +++ b/src/router/routes/setting.ts @@ -109,8 +109,7 @@ const Setting: RouteRecordRaw = { component: () => import('@/pages/menuPages/banners/index.vue'), meta: { icon: 'vuesax-linear:image', - title: 'بنرها', - hideMenu: true + title: 'بنرها' } }, ]