Pitu il y a 6 ans
Parent
commit
d44154d379
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      src/site/layouts/default.vue

+ 3 - 3
src/site/layouts/default.vue

@@ -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>