Skip to content

refactor: contact and permissions tab[WTEL-9717](https://webitel.atla…#994

Open
Lera24 wants to merge 3 commits into
refactor/WTEL-9717/contact-group-part-1from
refactor/WTEL-9717/contact-group-part-2
Open

refactor: contact and permissions tab[WTEL-9717](https://webitel.atla…#994
Lera24 wants to merge 3 commits into
refactor/WTEL-9717/contact-group-part-1from
refactor/WTEL-9717/contact-group-part-2

Conversation

@Lera24

@Lera24 Lera24 commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

…ssian.net/browse/WTEL-9717)

Comment on lines +9 to +25
const wrappedApiModule = {
...ContactGroupsAPI,
add: async (params) => {
if (params?.itemInstance?.type === ContactsGroupType.Dynamic) {
return DynamicGroupsAPI.add(params);
}

return ContactGroupsAPI.add(params);
},
update: async (params) => {
if (params?.itemInstance?.type === ContactsGroupType.Dynamic) {
return DynamicGroupsAPI.update(params);
}

return ContactGroupsAPI.update(params);
},
};

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

подобається)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

мб цю крокозябру покласти в /api папку, щоб не грузити стор файлік?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

я тут би залишила, як ти не проти) наче не багато коду, а так все в одному місці буде)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

але якщо тобі не ок - можу винести, без питань)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants