From ee7bba3d7286169deed0ba147d9db56fbcbe7bdb Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Fri, 29 Jul 2022 14:06:04 +0300 Subject: [PATCH] RED-4649 - added help mode to table header label --- src/lib/listing/table-header/table-header.component.html | 2 +- src/lib/listing/table-header/table-header.component.ts | 1 + src/lib/listing/table/table.component.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/listing/table-header/table-header.component.html b/src/lib/listing/table-header/table-header.component.html index 06d9dc4..340bcf8 100644 --- a/src/lib/listing/table-header/table-header.component.html +++ b/src/lib/listing/table-header/table-header.component.html @@ -6,7 +6,7 @@ [indeterminate]="listingService.notAllSelected$ | async" > - + {{ tableHeaderLabel | translate: { length: totalSize || (listingService.displayedLength$ | async) } }} diff --git a/src/lib/listing/table-header/table-header.component.ts b/src/lib/listing/table-header/table-header.component.ts index 7b1c6df..9c3f1fc 100644 --- a/src/lib/listing/table-header/table-header.component.ts +++ b/src/lib/listing/table-header/table-header.component.ts @@ -21,6 +21,7 @@ export class TableHeaderComponent, PrimaryKey ex @Input() listingMode: ListingMode = ListingModes.table; @Input() totalSize?: number; @Input() bulkActions?: TemplateRef; + @Input() helpModeKey?: string; readonly quickFilters$ = this.filterService.getFilterModels$('quickFilters'); diff --git a/src/lib/listing/table/table.component.html b/src/lib/listing/table/table.component.html index 2544a64..4d430a1 100644 --- a/src/lib/listing/table/table.component.html +++ b/src/lib/listing/table/table.component.html @@ -5,7 +5,7 @@ [selectionEnabled]="selectionEnabled" [tableColumnConfigs]="tableColumnConfigs" [tableHeaderLabel]="tableHeaderLabel" - [iqserHelpMode]="headerHelpModeKey" + [helpModeKey]="headerHelpModeKey" [totalSize]="totalSize" >