mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Replace showNotificaiton() calls
This commit is contained in:
parent
9235c183c5
commit
74e9699e1e
4 changed files with 9 additions and 15 deletions
|
@ -51,11 +51,7 @@ export default Component.extend(SectionMixin, NotifierMixin, {
|
|||
},
|
||||
|
||||
displayError(reason) {
|
||||
if (netUtil.isAjaxAccessError(reason)) {
|
||||
// this.showNotification(`Unable to authenticate`);
|
||||
} else {
|
||||
// this.showNotification(`Something went wrong, try again!`);
|
||||
}
|
||||
console.log(reason); // eslint-disable-line no-console
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
@ -181,7 +177,7 @@ export default Component.extend(SectionMixin, NotifierMixin, {
|
|||
}, function (reason) { // eslint-disable-line no-unused-vars
|
||||
self.set('authenticated', false);
|
||||
self.set('waiting', false);
|
||||
// self.showNotification(`Something went wrong, try again!`);
|
||||
console.log(reason); // eslint-disable-line no-console
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue