added not translatable property to table header column

This commit is contained in:
Valentin 2021-08-23 11:12:42 +03:00
parent 4527494d72
commit d31b702c22
2 changed files with 2 additions and 1 deletions

View File

@ -7,4 +7,5 @@ export interface TableColumnConfig<T> {
readonly leftIcon?: string; readonly leftIcon?: string;
readonly rightIcon?: string; readonly rightIcon?: string;
readonly rightIconTooltip?: string; readonly rightIconTooltip?: string;
readonly notTranslatable?: boolean;
} }

View File

@ -30,7 +30,7 @@
*ngFor="let config of tableColumnConfigs" *ngFor="let config of tableColumnConfigs"
[class]="config.class" [class]="config.class"
[sortByKey]="config.sortByKey" [sortByKey]="config.sortByKey"
[label]="config.label | translate" [label]="config.notTranslatable ? config.label : config.label | translate"
[leftIcon]="config.leftIcon" [leftIcon]="config.leftIcon"
[rightIconTooltip]="config.rightIconTooltip" [rightIconTooltip]="config.rightIconTooltip"
[rightIcon]="config.rightIcon" [rightIcon]="config.rightIcon"