Skip to content

Commit

Permalink
Merge pull request #719 from webitel/feature/notification-statuses
Browse files Browse the repository at this point in the history
feature: new notification statuses added [WTEL-4766]
  • Loading branch information
VladimirBeria authored Jul 16, 2024
2 parents 6308e98 + 4e559b2 commit d3a5748
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@vuelidate/validators": "^2.0.0",
"@vueuse/core": "^10.3.0",
"@webitel/flow-ui-sdk": "^0.1.14",
"@webitel/ui-sdk": "^24.6.50",
"@webitel/ui-sdk": "^24.6.56",
"axios": "^1.6.8",
"clipboard-copy": "^4.0.1",
"cron-validator": "^1.3.1",
Expand Down
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 d3a5748

Please sign in to comment.