Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 2a0ba2c

Browse files
committed
Added toaster notification
1 parent c372c5f commit 2a0ba2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/settings/edit-profile/edit-profile.controller.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,12 @@
111111
.then(function() {
112112
vm.profileFormProcessing = false;
113113
$log.info('Saved successfully');
114+
toaster.pop('success', "Success!", "Your account information was updated.");
114115
})
115116
.catch(function(err) {
116117
vm.profileFormProcessing = false;
117118
$log.error(err);
119+
toaster.pop('error', "Whoops!", "Something went wrong. Please try again later.");
118120
});
119121
}
120122

0 commit comments

Comments
 (0)