From e3c0907c4c5993879e8add14439f0c5c0c1cd25e Mon Sep 17 00:00:00 2001 From: Lera24 Date: Wed, 30 Oct 2024 14:50:55 +0200 Subject: [PATCH] fix: rename slas page[WTEL-5379](https://webitel.atlassian.net/browse/WTEL-5379) --- package.json | 2 +- src/enums/WebitelApplications/CrmSections.enum.js | 2 +- src/locale/en/en.js | 2 +- src/locale/ru/ru.js | 2 +- src/locale/ua/ua.js | 2 +- src/modules/Userinfo/classes/ApplicationsAccess.js | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 66e6ba9c5..14c301103 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@webitel/ui-sdk", - "version": "24.10.53", + "version": "24.10.54", "private": false, "scripts": { "dev": "vite", diff --git a/src/enums/WebitelApplications/CrmSections.enum.js b/src/enums/WebitelApplications/CrmSections.enum.js index 714d61afb..844ffe624 100644 --- a/src/enums/WebitelApplications/CrmSections.enum.js +++ b/src/enums/WebitelApplications/CrmSections.enum.js @@ -2,7 +2,7 @@ const CrmSections = Object.freeze({ CONTACTS: 'contacts', // CONFIGURATION - LOOKUPS - SLA: 'sla', + SLAS: 'slas', SERVICE_CATALOG: 'service-catalog', PRIORITIES: 'priorities', STATUSES: 'statuses', diff --git a/src/locale/en/en.js b/src/locale/en/en.js index be4654b68..7b6a314c8 100644 --- a/src/locale/en/en.js +++ b/src/locale/en/en.js @@ -220,7 +220,7 @@ export default { name: 'CRM', sections: { [CrmSections.CONTACTS]: 'Contacts', - [CrmSections.SLA]: 'SLA', + [CrmSections.SLAS]: 'SLAS', }, }, [WebitelApplications.HISTORY]: { name: 'Call History' }, diff --git a/src/locale/ru/ru.js b/src/locale/ru/ru.js index 08e4b42cb..27c0cc02b 100644 --- a/src/locale/ru/ru.js +++ b/src/locale/ru/ru.js @@ -219,7 +219,7 @@ export default { name: 'CRM', sections: { [CrmSections.CONTACTS]: 'Контакты', - [CrmSections.SLA]: 'SLA', + [CrmSections.SLAS]: 'SLAS', }, }, [WebitelApplications.HISTORY]: { name: 'Call History' }, diff --git a/src/locale/ua/ua.js b/src/locale/ua/ua.js index c87bbb40b..6f8c384d0 100644 --- a/src/locale/ua/ua.js +++ b/src/locale/ua/ua.js @@ -219,7 +219,7 @@ export default { name: 'CRM', sections: { [CrmSections.CONTACTS]: 'Контакти', - [CrmSections.SLA]: 'SLA', + [CrmSections.SLAS]: 'SLAS', }, }, [WebitelApplications.HISTORY]: { name: 'Call History' }, diff --git a/src/modules/Userinfo/classes/ApplicationsAccess.js b/src/modules/Userinfo/classes/ApplicationsAccess.js index 40542624e..fd11a796b 100644 --- a/src/modules/Userinfo/classes/ApplicationsAccess.js +++ b/src/modules/Userinfo/classes/ApplicationsAccess.js @@ -194,9 +194,9 @@ const applicationsAccess = (value = true) => ({ _enabled: value, _locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.CONTACTS}`, }, - [CrmSections.SLA]: { + [CrmSections.SLAS]: { _enabled: value, - _locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.SLA}`, + _locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.SLAS}`, }, }, });