added kashkool

This commit is contained in:
2026-06-11 22:29:28 +03:30
parent ddf818ede4
commit d4ac54aa6a
9 changed files with 143 additions and 20 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import type { RouteRecordRaw } from 'vue-router'
import {getConfigApp} from "@/utils/config";
import { getConfigApp, isStoreApp } from '@/utils/config'
const Setting: RouteRecordRaw = {
name: 'settings',
path: '/settings',
@@ -70,7 +70,7 @@ const Setting: RouteRecordRaw = {
permissionsKey: 'discounts',
icon: 'vuesax-linear:discount-shape',
title: 'تخفیفات',
hideMenu: getConfigApp('name') !== "goldsun"
hideMenu: isStoreApp() || getConfigApp('name') !== 'goldsun'
}
},
{