Skip to content

Commit

Permalink
Merge pull request #414 from webitel/feature/close-reasons-lookup
Browse files Browse the repository at this point in the history
feature:added new lookup in crm [WTEL-5712](https://webitel.atlassiannet/browse/WTEL-5712)
  • Loading branch information
liza-pohranichna authored Jan 10, 2025
2 parents 9f312d0 + 3e1d182 commit f08db4c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 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.12.47",
"version": "24.12.48",
"private": false,
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/enums/WebitelApplications/CrmSections.enum.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const CrmSections = Object.freeze({
PRIORITIES: 'priorities',
STATUSES: 'statuses',
SOURCES: 'sources',
CLOSURE_REASONS: 'closure-reasons',
CLOSE_REASON_GROUPS: 'close-reason-groups',
CONTACT_GROUPS: 'contact-groups',
CASE_SOURCES: 'case-sources',
CUSTOM_LOOKUPS: 'custom-lookups',
Expand Down
5 changes: 5 additions & 0 deletions src/modules/Userinfo/classes/ApplicationsAccess.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import deepCopy from 'deep-copy';
import deepmerge from 'deepmerge';

import AdminSections from '../../../enums/WebitelApplications/AdminSections.enum.js';
import AuditorSections from '../../../enums/WebitelApplications/AuditorSections.enum.js';
import CrmSections from '../../../enums/WebitelApplications/CrmSections.enum.js';
Expand Down Expand Up @@ -206,6 +207,10 @@ const applicationsAccess = (value = true) => ({
_enabled: value,
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.SERVICE_CATALOGS}`,
},
[CrmSections.CLOSE_REASON_GROUPS]: {
_enabled: value,
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.CLOSE_REASON_GROUPS}`,
},
[CrmSections.CONTACT_GROUPS]: {
_enabled: value,
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.CONTACT_GROUPS}`,
Expand Down

0 comments on commit f08db4c

Please sign in to comment.