1
0
Fork 0
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:
sauls8t 2018-04-23 12:46:34 +01:00
parent 9235c183c5
commit 74e9699e1e
4 changed files with 9 additions and 15 deletions

View file

@ -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
});
}
}