fix some bugs 4
This commit is contained in:
@@ -92,7 +92,11 @@ export const EDITABLE_SETTING_GROUPS: SettingGroupDef[] = [
|
||||
id: 'notifications',
|
||||
title: 'پیامک و اعلان',
|
||||
icon: 'vuesax-linear:notification',
|
||||
match: (k) => /^charge_notif/.test(k)
|
||||
match: (k) =>
|
||||
k === 'charge_notif' ||
|
||||
k === 'group_sms' ||
|
||||
k === 'register_referral_sms_to_referrer' ||
|
||||
/^sms_notif_/.test(k)
|
||||
},
|
||||
{
|
||||
id: 'features',
|
||||
@@ -115,7 +119,7 @@ export const SYSTEM_SETTING_GROUPS: SettingGroupDef[] = [
|
||||
title: 'عمومی و برند',
|
||||
icon: 'vuesax-linear:home-2',
|
||||
match: (k) =>
|
||||
/^(name_fa|name_en|app_url|admin_url|apk_download_link|banner_enabled|permision__enabled|bace_url|server_url|logo_|title_pwa|title_fav|metal_type|main_metal|unit$|open_register|auto_active_customer|store_status|key$|is_store|group_sms|has_page_earn_money|sms_panel)/.test(
|
||||
/^(name_fa|name_en|app_url|admin_url|apk_download_link|banner_enabled|permision__enabled|bace_url|server_url|logo_|title_pwa|title_fav|metal_type|main_metal|unit$|open_register|auto_active_customer|store_status|key$|is_store|group_sms|customer_direct_sms|has_page_earn_money|sms_panel)/.test(
|
||||
k
|
||||
)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user