new check for kashkol
This commit is contained in:
@@ -178,6 +178,7 @@ import {
|
||||
SETTING_TYPE_OPTIONS,
|
||||
formatValueForSave,
|
||||
helpText,
|
||||
isSettingVisible,
|
||||
resolveSettingFieldType
|
||||
} from './settingTypes'
|
||||
|
||||
@@ -263,7 +264,11 @@ function matchesFilter(row: Const): boolean {
|
||||
const filteredRows = computed(() =>
|
||||
sortRows(
|
||||
(baseData.value || []).filter(
|
||||
(row) => row.id != null && isEditable(row) && matchesFilter(row)
|
||||
(row) =>
|
||||
row.id != null &&
|
||||
isEditable(row) &&
|
||||
isSettingVisible(row.key) &&
|
||||
matchesFilter(row)
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -310,7 +315,7 @@ const SETTING_GROUPS: Array<{
|
||||
title: 'ویژگیها و صفحات',
|
||||
icon: 'vuesax-linear:menu',
|
||||
match: (k) =>
|
||||
/^(has_page_|has_chat|display_montzar|close_price|startDay|endDay|auto_active|open_register|charge_notif|group_sms|show_last_price|product_update|product_auto_close|goldir_price|tabanGohar_price|main_product_price|is_store|store_status)/.test(k)
|
||||
/^(has_page_|has_chat|display_montzar|close_price|startDay|endDay|auto_active|open_register|charge_notif|group_sms|show_last_price|product_update|product_auto_close|is_store|store_status)/.test(k)
|
||||
},
|
||||
{
|
||||
id: 'integrations',
|
||||
|
||||
Reference in New Issue
Block a user