This commit is contained in:
@@ -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 });
|
||||
});
|
||||
|
||||
///////////
|
||||
|
||||
Reference in New Issue
Block a user