added kashkool
This commit is contained in:
@@ -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'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user