This commit is contained in:
@@ -42,9 +42,6 @@ function initNavPanel() {
|
||||
//Set homePage in store to customer csr for this user type
|
||||
let CustomerHomePageSet = false;
|
||||
|
||||
//$store.state.customerRights
|
||||
//{ "csr": true, "wo": true, "wowiki": true, "userSettings": true, "notifyServiceImminent": true, "notifyCSRAccepted": true, "notifyCSRRejected": true, "notifyWOCreated": true }
|
||||
|
||||
//USER SETTINGS
|
||||
if (window.$gz.store.state.customerRights.userSettings == true) {
|
||||
sub.push({
|
||||
@@ -58,12 +55,7 @@ function initNavPanel() {
|
||||
CustomerHomePageSet = true;
|
||||
}
|
||||
|
||||
if (
|
||||
window.$gz.store.state.customerRights.notifyServiceImminent == true ||
|
||||
window.$gz.store.state.customerRights.notifyCSRAccepted == true ||
|
||||
window.$gz.store.state.customerRights.notifyCSRRejected == true ||
|
||||
window.$gz.store.state.customerRights.notifyWOCreated == true
|
||||
) {
|
||||
if (window.$gz.store.state.notifyAvailable) {
|
||||
sub.push({
|
||||
title: "NotifySubscriptionList",
|
||||
icon: "$ayiBullhorn",
|
||||
|
||||
Reference in New Issue
Block a user