From cbecaccc5d0d2bdc618c63eb97ce2307560171dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Agneray?= <francois.agneray@lam.fr> Date: Wed, 8 Sep 2021 14:57:28 +0200 Subject: [PATCH] Fixed bug: datatable display value is null --- .../shared-search/components/datatable/datatable.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/instance/shared-search/components/datatable/datatable.component.html b/client/src/app/instance/shared-search/components/datatable/datatable.component.html index f97a2bb2..c2509821 100644 --- a/client/src/app/instance/shared-search/components/datatable/datatable.component.html +++ b/client/src/app/instance/shared-search/components/datatable/datatable.component.html @@ -40,7 +40,7 @@ </button> </td> <td *ngFor="let attribute of getOutputList()" class="align-middle"> - <div [ngSwitch]="attribute.renderer"> + <div *ngIf="datum[attribute.label]" [ngSwitch]="attribute.renderer"> <div *ngSwitchCase="'detail'"> <app-detail-renderer [value]="datum[attribute.label]" -- GitLab