plugged front in error notification for API calls

pull/20/head
Ro 4 years ago
parent 1aea87faf0
commit fe5c581497

@ -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') +

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

Loading…
Cancel
Save