Skip to content

Commit

Permalink
Merge pull request #364 from webitel/fix/hiding-wfm-pages
Browse files Browse the repository at this point in the history
fix: hiding wfm pages before release
  • Loading branch information
Lera24 authored Nov 19, 2024
2 parents a948ce9 + 12df75b commit 3a248f6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webitel/ui-sdk",
"version": "24.10.86",
"version": "24.10.87",
"private": false,
"scripts": {
"dev": "vite",
Expand Down
6 changes: 3 additions & 3 deletions src/enums/WebitelApplications/AdminSections.enum.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions src/modules/Userinfo/classes/ApplicationsAccess.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down

0 comments on commit 3a248f6

Please sign in to comment.