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

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

Loading…
Cancel
Save