From c1760e4111634f5887cab90fa053ff00c3c984be Mon Sep 17 00:00:00 2001 From: Tobias Kohr Date: Thu, 18 Jan 2024 16:10:32 +0100 Subject: [PATCH] refactor(results-list): update ngFor, ngIf with control-flow syntax --- .../results-list-carousel.component.html | 27 +++++++++---------- .../results-list-grid.component.html | 15 +++++------ 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/apps/datahub/src/app/common/results-list/results-list-carousel/results-list-carousel.component.html b/apps/datahub/src/app/common/results-list/results-list-carousel/results-list-carousel.component.html index ed894bd1..10a551dc 100644 --- a/apps/datahub/src/app/common/results-list/results-list-carousel/results-list-carousel.component.html +++ b/apps/datahub/src/app/common/results-list/results-list-carousel/results-list-carousel.component.html @@ -1,19 +1,18 @@
-
- - -
+ [record]="record" + (mdSelect)="onMetadataSelection($event)" + > + } @else { + + } }
diff --git a/apps/datahub/src/app/common/results-list/results-list-grid/results-list-grid.component.html b/apps/datahub/src/app/common/results-list/results-list-grid/results-list-grid.component.html index a167a04e..9b4bb23f 100644 --- a/apps/datahub/src/app/common/results-list/results-list-grid/results-list-grid.component.html +++ b/apps/datahub/src/app/common/results-list/results-list-grid/results-list-grid.component.html @@ -1,13 +1,12 @@
-
- -
+ [record]="record" + (mdSelect)="onMetadataSelection($event)" + > + }