This commit is contained in:
@@ -35,7 +35,7 @@ function initNavPanel() {
|
||||
ServiceContractor = 5 */
|
||||
|
||||
//########## OUTSIDE USERS GROUP (CUSTOMER / HEADOFFICE) ###
|
||||
if (window.$gz.store.state.getters.isCustomerUser == true) {
|
||||
if (window.$gz.store.getters.isCustomerUser == true) {
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
|
||||
@@ -55,7 +55,7 @@ function initNavPanel() {
|
||||
CustomerHomePageSet = true;
|
||||
}
|
||||
|
||||
if (window.$gz.store.state.getters.canSubscribeToNotifications) {
|
||||
if (window.$gz.store.getters.canSubscribeToNotifications) {
|
||||
sub.push({
|
||||
title: "NotifySubscriptionList",
|
||||
icon: "$ayiBullhorn",
|
||||
@@ -109,8 +109,8 @@ function initNavPanel() {
|
||||
}
|
||||
|
||||
//###### SUBCONTRACTORS ######
|
||||
//console.log(window.$gz.store.state.getters.isSubContractorUser);
|
||||
if (window.$gz.store.state.getters.isSubContractorUser == true) {
|
||||
//console.log(window.$gz.store.getters.isSubContractorUser);
|
||||
if (window.$gz.store.getters.isSubContractorUser == true) {
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
|
||||
@@ -734,7 +734,7 @@ function initNavPanel() {
|
||||
//as long as they are a normal User type and not a subcontractor type
|
||||
if (
|
||||
(licenseState == 1) &
|
||||
(window.$gz.store.state.getters.isSubContractorUser == false)
|
||||
(window.$gz.store.getters.isSubContractorUser == false)
|
||||
) {
|
||||
addNavItem(
|
||||
"Evaluate",
|
||||
|
||||
Reference in New Issue
Block a user