Skip to content

Commit

Permalink
feature:added new lookup in crm [WTEL-5712](https://webitel.atlassian…
Browse files Browse the repository at this point in the history
  • Loading branch information
liza-pohranichna committed Jan 9, 2025
1 parent 9f312d0 commit f8e10c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
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 f8e10c7

Please sign in to comment.