Merge branch 'master' into fix-edge-zombie-consumer-cleanup

This commit is contained in:
ShadowBlades 2025-08-19 17:05:17 +08:00 committed by GitHub
commit 6d30b2884a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -851,6 +851,9 @@ export class AlarmsTableWidgetComponent extends PageComponent implements OnInit,
content = this.defaultContent(key, contentInfo, value);
}
if (isDefined(content)) {
if (typeof content === 'object') {
content = JSON.stringify(content);
}
content = this.utils.customTranslation(content, content);
switch (typeof content) {
case 'string':

View File

@ -271,6 +271,11 @@ export const alarmFields: {[fieldName: string]: AlarmField} = {
keyName: 'assignee',
value: 'assignee',
name: 'alarm.assignee'
},
details: {
keyName: 'details',
value: 'details',
name: 'alarm.details'
}
};