Skip to content

Commit

Permalink
feature: new notification statuses added [WTEL-4766]
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirBeria committed Jul 15, 2024
1 parent 6308e98 commit 221daa4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ const addMembersBulk = async (parentId, fileName, items) => {
snakeToCamel(['variables']),
notify(({ callback }) =>
callback({
type: 'info',
type: 'success',
text: 'Successfully added',
}),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default {
const response = await this.callback();
const { count = 0 } = response;
this.$eventBus.$emit('notification', {
type: 'info',
type: 'success',
text: this.$t('objects.ccenter.members.resetMembers.successResetCount', {
count,
}),
Expand Down
2 changes: 1 addition & 1 deletion src/modules/integrations/modules/triggers/api/triggers.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const startTrigger = async (params, item) => {
snakeToCamel(doNotConvertKeys),
notify(({ callback }) =>
callback({
type: 'info',
type: 'success',
text: 'Successfully ran',
}),
),
Expand Down
2 changes: 1 addition & 1 deletion src/modules/lookups/modules/media/api/media.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const addMedia = async (params) => {
const response = await addMediaInstance.post(url, formData);
applyTransform(response, [
notify(() => ({
type: 'info',
type: 'success',
text: 'Successfully added',
})),
]);
Expand Down
2 changes: 1 addition & 1 deletion src/modules/routing/modules/dialplan/api/dialplan.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const moveDialplan = async ({ fromId, toId }) => {
return applyTransform(response.data, [
notify(({ callback }) =>
callback({
type: 'info',
type: 'success',
text: 'Successfully saved',
}),
),
Expand Down
2 changes: 1 addition & 1 deletion src/modules/settings/components/the-settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default {
changes,
});
this.$eventBus.$emit('notification', {
type: 'info',
type: 'success',
text: 'Password is successfully updated!',
});
} catch (err) {
Expand Down

0 comments on commit 221daa4

Please sign in to comment.