From 12df75b9427d3c75804993671835c2ffadbc0fbd Mon Sep 17 00:00:00 2001 From: Lera24 Date: Tue, 19 Nov 2024 21:00:54 +0200 Subject: [PATCH] fix: hiding wfm pages before release --- 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 afd579e1..40a50a72 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@webitel/ui-sdk", - "version": "24.10.86", + "version": "24.10.87", "private": false, "scripts": { "dev": "vite", diff --git a/src/enums/WebitelApplications/AdminSections.enum.js b/src/enums/WebitelApplications/AdminSections.enum.js index 2d45295d..51a25f3f 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 fd11a796..4629de47 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}`,