Browse Source
Merge pull request #10579 from d2eight/custom-translations
[Custom Translation] Add support for custom translations of alarm originator on the alarms page
pull/10713/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/alarm/alarm-table-config.ts
|
|
|
@ -115,7 +115,7 @@ export class AlarmTableConfig extends EntityTableConfig<AlarmInfo, TimePageLink> |
|
|
|
new DateEntityTableColumn<AlarmInfo>('createdTime', 'alarm.created-time', this.datePipe, '150px')); |
|
|
|
this.columns.push( |
|
|
|
new EntityLinkTableColumn<AlarmInfo>('originatorName', 'alarm.originator', '25%', |
|
|
|
(entity) => entity.originatorName, |
|
|
|
(entity) => this.utilsService.customTranslation(entity.originatorName, entity.originatorName), |
|
|
|
(entity) => getEntityDetailsPageURL(entity.originator.id, entity.originator.entityType as EntityType))); |
|
|
|
this.columns.push( |
|
|
|
new EntityTableColumn<AlarmInfo>('type', 'alarm.type', '25%', |
|
|
|
|