This commit is contained in:
@@ -18,19 +18,30 @@ export default {
|
||||
///////////
|
||||
//ERROR
|
||||
window.$gz.eventBus.$on("notify-error", function handleNotifyWarn(msg) {
|
||||
window.$gz.store.commit("logItem", "notify-error: " + msg);
|
||||
vm.$root.$gznotify({ message: msg, type: "error", timeout: 5000 });
|
||||
});
|
||||
|
||||
///////////
|
||||
//WARNING
|
||||
window.$gz.eventBus.$on("notify-warning", function handleNotifyWarn(msg) {
|
||||
window.$gz.store.commit("logItem", "notify-warning: " + msg);
|
||||
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: 3000 });
|
||||
window.$gz.eventBus.$on("notify-info", function handleNotifyWarn(
|
||||
msg,
|
||||
helpUrl
|
||||
) {
|
||||
window.$gz.store.commit("logItem", "notify-info: " + msg);
|
||||
vm.$root.$gznotify({
|
||||
message: msg,
|
||||
type: "info",
|
||||
timeout: 3000,
|
||||
helpUrl: helpUrl
|
||||
});
|
||||
});
|
||||
|
||||
///////////
|
||||
|
||||
@@ -151,7 +151,8 @@ export default function initialize() {
|
||||
"Time zone offset for your account is set to " +
|
||||
res.data.timeZoneOffset +
|
||||
" which doesn't match the local timezone offset of " +
|
||||
localOffset
|
||||
localOffset,
|
||||
window.$gz.store.state.helpUrl + "intro/#searching"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@ export default {
|
||||
"Operations",
|
||||
"HelpAboutAyaNova",
|
||||
"MenuHelp",
|
||||
"More",
|
||||
"Logout",
|
||||
//form required options
|
||||
"Active",
|
||||
|
||||
Reference in New Issue
Block a user