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

Commit 9646ce3

Browse files
committed
Merge pull request #306 from appirio-tech/feature/tom-add-settings-confirmation
Added toaster notification
2 parents 6ea09fa + 2a0ba2c commit 9646ce3

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
@@ -113,10 +113,12 @@
113113
.then(function() {
114114
vm.profileFormProcessing = false;
115115
$log.info('Saved successfully');
116+
toaster.pop('success', "Success!", "Your account information was updated.");
116117
})
117118
.catch(function(err) {
118119
vm.profileFormProcessing = false;
119120
$log.error(err);
121+
toaster.pop('error', "Whoops!", "Something went wrong. Please try again later.");
120122
});
121123
}
122124

0 commit comments

Comments
 (0)