|
@@ -15,10 +15,10 @@ export default {
|
|
|
created() {
|
|
|
Vue.prototype.$onPromiseError = (error, logout = false) => {
|
|
|
if (error.response && error.response.data && error.response.data.message) {
|
|
|
- this.showToast(error.response.data.message, true, 5000);
|
|
|
+ this.$showToast(error.response.data.message, true, 5000);
|
|
|
} else {
|
|
|
console.error(error);
|
|
|
- this.showToast('Something went wrong, please check the console :(', true, 5000);
|
|
|
+ this.$showToast('Something went wrong, please check the console :(', true, 5000);
|
|
|
}
|
|
|
};
|
|
|
|
|
@@ -35,5 +35,5 @@ export default {
|
|
|
</script>
|
|
|
<style lang="scss">
|
|
|
@import "~/assets/styles/style.scss";
|
|
|
- @import "~assets/styles/icons.min.css";
|
|
|
+ @import "~/assets/styles/icons.min.css";
|
|
|
</style>
|