Skip to content

Commit

Permalink
#1816 Fix notification messages
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Mar 6, 2021
1 parent 0f61fb5 commit d8c227e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
return TagSrv.removeTag(tag._id);
})
.then(function () {
NotificationSrv.success('Tag list', 'Tag removed successfully');
NotificationSrv.success('Tag [' + tag.predicate + '] removed successfully');

self.load();

Expand All @@ -80,7 +80,7 @@
self.updateColour = function(id, colour) {
TagSrv.updateTag(id, {colour: colour})
.then(function(/*response*/) {
NotificationSrv.success('Tag list', 'Tag colour updated successfully');
NotificationSrv.success('Tag colour updated successfully');
})
.catch(function(err) {
NotificationSrv.error('Tag list', err.data, err.status);
Expand Down

0 comments on commit d8c227e

Please sign in to comment.