This commit is contained in:
@@ -64,7 +64,6 @@ export default new Vuex.Store({
|
||||
return state.userType == 3 || state.userType == 4;
|
||||
},
|
||||
isSubContractorUser: state => {
|
||||
console.log("Issubcontractoruser", state);
|
||||
return state.userType == 5;
|
||||
},
|
||||
isScheduleableUser: state => {
|
||||
|
||||
@@ -298,7 +298,10 @@ function generateMenu(vm) {
|
||||
vm: vm
|
||||
});
|
||||
|
||||
if (!window.$gz.store.getters.isCustomerUser) {
|
||||
if (
|
||||
!window.$gz.store.getters.isCustomerUser &&
|
||||
!window.$gz.store.getters.isSubContractorUser
|
||||
) {
|
||||
menuOptions.menuItems.push({
|
||||
title: "DirectNotification",
|
||||
icon: "$ayiCommentAlt",
|
||||
|
||||
Reference in New Issue
Block a user