Pull request #1: added not translatable property to table header column

Merge in SL/common-ui from VM/FIleAttributesCommonUi to master

* commit 'd31b702c22ac1a9e925db673ef83f56c7137071b':
  added not translatable property to table header column
This commit is contained in:
Timo Bejan 2021-08-23 10:34:59 +02:00
commit bb51a90738
2 changed files with 2 additions and 1 deletions

View File

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

View File

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