This commit is contained in:
@@ -400,13 +400,18 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
showTags() {
|
showTags() {
|
||||||
switch (this.obj.eventType) {
|
if (!window.$gz.store.state.isCustomerUser) {
|
||||||
case 27: //General notification
|
//customers NEVER see tags anywhere, that's private information and they do not use or require it
|
||||||
case 20: //backup status
|
switch (this.obj.eventType) {
|
||||||
case 31: //workordercreatedforcustomer customer notification, no tags
|
case 27: //General notification
|
||||||
return false;
|
case 20: //backup status
|
||||||
default:
|
case 31: //workordercreatedforcustomer customer notification, no tags
|
||||||
return true;
|
return false;
|
||||||
|
default:
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user