This commit is contained in:
2019-07-19 18:57:06 +00:00
parent 702e632dde
commit 1bc7084d3b
18 changed files with 54 additions and 46 deletions

View File

@@ -17,7 +17,7 @@ export default {
///////////
//ERROR
vm.$gzevent.$on("notify-error", function handleNotifyWarn(msg) {
window.$gz.eventbus.$on("notify-error", function handleNotifyWarn(msg) {
vm.$dialog.notify.info(msg, {
position: "bottom-right",
icon: "fa-exclamation-triangle",
@@ -27,7 +27,7 @@ export default {
///////////
//WARNING
vm.$gzevent.$on("notify-warning", function handleNotifyWarn(msg) {
window.$gz.eventbus.$on("notify-warning", function handleNotifyWarn(msg) {
vm.$dialog.notify.warning(msg, {
position: "bottom-right",
icon: "fa-exclamation",
@@ -37,7 +37,7 @@ export default {
///////////
//INFO
vm.$gzevent.$on("notify-info", function handleNotifyWarn(msg) {
window.$gz.eventbus.$on("notify-info", function handleNotifyWarn(msg) {
vm.$dialog.notify.info(msg, {
position: "bottom-right",
icon: "fa-info-circle",
@@ -47,7 +47,7 @@ export default {
///////////
//SUCCESS
vm.$gzevent.$on("notify-success", function handleNotifyWarn(msg) {
window.$gz.eventbus.$on("notify-success", function handleNotifyWarn(msg) {
vm.$dialog.notify.success(msg, {
position: "bottom-right",
icon: "fa-check-circle ",