plugged front in error notification for API calls

This commit is contained in:
Ro 2020-06-20 21:07:06 -07:00
parent 1aea87faf0
commit fe5c581497
2 changed files with 3 additions and 2 deletions

View file

@ -38,6 +38,7 @@ export default class Render {
const page = pages[index];
if (page.metadata.deleted === false) {
let writeFile, template;
//create case for index path
let path =
'public/' +
moment(page.metadata.created).format('YYYY') +

View file

@ -65,7 +65,7 @@ export default class Base {
}
})
.catch(err => {
//console.log(err);
notify.alert(err, false);
});
}
@ -86,7 +86,7 @@ export default class Base {
}
})
.catch(err => {
//console.log(err);
notify.alert(err, false);
});
}
}