This commit is contained in:
2019-11-08 18:51:36 +00:00
parent c168a00e1a
commit ef219df726
3 changed files with 11 additions and 87 deletions

View File

@@ -45,19 +45,19 @@ TODO:
///////////
//ERROR
window.$gz.eventBus.$on("notify-error", function handleNotifyWarn(msg) {
vm.$root.$gznotify({ message: msg, type: "error", timeout: 2000 });
vm.$root.$gznotify({ message: msg, type: "error", timeout: 5000 });
});
///////////
//WARNING
window.$gz.eventBus.$on("notify-warning", function handleNotifyWarn(msg) {
vm.$root.$gznotify({ message: msg, type: "warning", timeout: 2000 });
vm.$root.$gznotify({ message: msg, type: "warning", timeout: 4000 });
});
///////////
//INFO
window.$gz.eventBus.$on("notify-info", function handleNotifyWarn(msg) {
vm.$root.$gznotify({ message: msg, type: "info", timeout: 2000 });
vm.$root.$gznotify({ message: msg, type: "info", timeout: 3000 });
});
///////////