This commit is contained in:
2021-06-16 18:57:36 +00:00
parent 6b4614428e
commit a05e5e3871
5 changed files with 66 additions and 21 deletions

View File

@@ -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",