Browse Source

Merge pull request #10370 from rusikv/bug/alarm-table-originator-sorting

Added sorting to 'Originator' column for alarm table
pull/10385/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
beee0abf0a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      ui-ngx/src/app/modules/home/models/entity/entities-table-config.models.ts

5
ui-ngx/src/app/modules/home/models/entity/entities-table-config.models.ts

@ -120,8 +120,9 @@ export class EntityLinkTableColumn<T extends BaseData<HasId>> extends BaseEntity
public title: string, public title: string,
public width: string = '0px', public width: string = '0px',
public cellContentFunction: CellContentFunction<T> = (entity, property) => entity[property] ? entity[property] : '', public cellContentFunction: CellContentFunction<T> = (entity, property) => entity[property] ? entity[property] : '',
public entityURL: (entity) => string) { public entityURL: (entity) => string,
super('link', key, title, width, false); public sortable: boolean = true) {
super('link', key, title, width, sortable);
} }
} }

Loading…
Cancel
Save