forked from projects/fipamo
plugged front in error notification for API calls
This commit is contained in:
parent
1aea87faf0
commit
fe5c581497
2 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue