1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 23:59:47 +02:00

Save smart sections correctly post callback refactoring

This commit is contained in:
sauls8t 2018-01-24 14:00:12 +00:00
parent adef6dfffa
commit c0d70e38de
6 changed files with 18 additions and 16 deletions

View file

@ -52,9 +52,9 @@ export default Component.extend(SectionMixin, NotifierMixin, {
displayError(reason) {
if (netUtil.isAjaxAccessError(reason)) {
this.showNotification(`Unable to authenticate`);
// this.showNotification(`Unable to authenticate`);
} else {
this.showNotification(`Something went wrong, try again!`);
// this.showNotification(`Something went wrong, try again!`);
}
},
@ -181,7 +181,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!`);
// self.showNotification(`Something went wrong, try again!`);
});
}
}