From cf746a0173603767adbeffea4e970fd790aea782 Mon Sep 17 00:00:00 2001 From: Lera24 Date: Wed, 20 Nov 2024 12:08:50 +0200 Subject: [PATCH] fix: return wfm pages in release 24.10 --- package.json | 2 +- .../WebitelApplications/AdminSections.enum.js | 6 ++--- .../Userinfo/classes/ApplicationsAccess.js | 24 +++++++++---------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 40a50a72..fe6925a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@webitel/ui-sdk", - "version": "24.10.87", + "version": "24.10.88", "private": false, "scripts": { "dev": "vite", diff --git a/src/enums/WebitelApplications/AdminSections.enum.js b/src/enums/WebitelApplications/AdminSections.enum.js index 51a25f3f..2d45295d 100644 --- a/src/enums/WebitelApplications/AdminSections.enum.js +++ b/src/enums/WebitelApplications/AdminSections.enum.js @@ -18,9 +18,9 @@ const AdminSections = Object.freeze({ COMMUNICATIONS: 'communications', // scope: lookups PAUSE_CAUSE: 'pause-cause', // scope: lookups MEDIA: 'media', // scope: media_file - // SHIFT_TEMPLATES: 'shift-templates', // scope: shift_templates - // PAUSE_TEMPLATES: 'pause-templates', //scope: pause_templates - // WORKING_CONDITIONS: 'working-conditions', //scope: working_conditions + SHIFT_TEMPLATES: 'shift-templates', // scope: shift_templates + PAUSE_TEMPLATES: 'pause-templates', //scope: pause_templates + WORKING_CONDITIONS: 'working-conditions', //scope: working_conditions // CONTACT CENTER SKILLS: 'skills', // scope: lookups diff --git a/src/modules/Userinfo/classes/ApplicationsAccess.js b/src/modules/Userinfo/classes/ApplicationsAccess.js index 4629de47..fd11a796 100644 --- a/src/modules/Userinfo/classes/ApplicationsAccess.js +++ b/src/modules/Userinfo/classes/ApplicationsAccess.js @@ -102,18 +102,18 @@ const applicationsAccess = (value = true) => ({ _enabled: value, _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.MEDIA}`, }, - // [AdminSections.SHIFT_TEMPLATES]: { - // _enabled: value, - // _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.SHIFT_TEMPLATES}`, - // }, - // [AdminSections.PAUSE_TEMPLATES]: { - // _enabled: value, - // _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.PAUSE_TEMPLATES}`, - // }, - // [AdminSections.WORKING_CONDITIONS]: { - // _enabled: value, - // _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.WORKING_CONDITIONS}`, - // }, + [AdminSections.SHIFT_TEMPLATES]: { + _enabled: value, + _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.SHIFT_TEMPLATES}`, + }, + [AdminSections.PAUSE_TEMPLATES]: { + _enabled: value, + _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.PAUSE_TEMPLATES}`, + }, + [AdminSections.WORKING_CONDITIONS]: { + _enabled: value, + _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.WORKING_CONDITIONS}`, + }, [AdminSections.AGENTS]: { _enabled: value, _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.AGENTS}`,