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