This commit is contained in:
2020-07-24 13:49:24 +00:00
parent 1c077f5d93
commit e2be75ca4b
2 changed files with 16 additions and 4 deletions

View File

@@ -350,12 +350,22 @@ export default {
},
showAttachReportId() {
//TODO: Many others as well, but for now until those objects exist
return this.obj.eventType != 27; //general notification has no tags
//return true;
switch (this.obj.eventType) {
case 27: //General notification
case 20: //backup status
return false;
default:
return true;
}
},
showTags() {
return this.obj.eventType != 27; //general notification has no tags
switch (this.obj.eventType) {
case 27: //General notification
case 20: //backup status
return false;
default:
return true;
}
}
},
methods: {