This commit is contained in:
@@ -301,12 +301,15 @@ function generateMenu(vm) {
|
||||
vm: vm
|
||||
});
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "DirectNotification",
|
||||
icon: "$ayiCommentAlt",
|
||||
data: "home-notify-direct",
|
||||
key: "app:nav"
|
||||
});
|
||||
if (!window.$gz.store.state.isCustomerUser) {
|
||||
menuOptions.menuItems.push({
|
||||
title: "DirectNotification",
|
||||
icon: "$ayiCommentAlt",
|
||||
data: "home-notify-direct",
|
||||
key: "app:nav"
|
||||
});
|
||||
}
|
||||
|
||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||
}
|
||||
/////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user