all customer fixing added
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
import { conditionalOrderEnabledSetting } from '@/utils/config'
|
||||
|
||||
const HesabKetab: RouteRecordRaw = {
|
||||
name: 'hesabKetab',
|
||||
@@ -98,6 +99,11 @@ const HesabKetab: RouteRecordRaw = {
|
||||
icon: 'vuesax-linear:timer',
|
||||
title: 'سفارش شرطی',
|
||||
order: 6.5
|
||||
},
|
||||
beforeEnter() {
|
||||
if (!conditionalOrderEnabledSetting.value) {
|
||||
return { name: 'accountsMain' }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user