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]; const page = pages[index];
if (page.metadata.deleted === false) { if (page.metadata.deleted === false) {
let writeFile, template; let writeFile, template;
//create case for index path
let path = let path =
'public/' + 'public/' +
moment(page.metadata.created).format('YYYY') + moment(page.metadata.created).format('YYYY') +

View file

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