From 630f2b5d9f0154eac7eb9ceb9b2feb62a200c66c Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Tue, 2 Jun 2020 12:35:40 +0100 Subject: [PATCH] Fix display of details in endpoint card in endpoint list (#4319) --- .../endpoint/endpoint-card/endpoint-card.component.html | 7 ++++--- .../endpoint/endpoint-card/endpoint-card.component.ts | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/frontend/packages/core/src/shared/components/list/list-types/endpoint/endpoint-card/endpoint-card.component.html b/src/frontend/packages/core/src/shared/components/list/list-types/endpoint/endpoint-card/endpoint-card.component.html index af9d52a709..e5e6cb868e 100644 --- a/src/frontend/packages/core/src/shared/components/list/list-types/endpoint/endpoint-card/endpoint-card.component.html +++ b/src/frontend/packages/core/src/shared/components/list/list-types/endpoint/endpoint-card/endpoint-card.component.html @@ -19,7 +19,8 @@ --> - + @@ -43,10 +44,10 @@ - + Details
- + \ No newline at end of file diff --git a/src/frontend/packages/core/src/shared/components/list/list-types/endpoint/endpoint-card/endpoint-card.component.ts b/src/frontend/packages/core/src/shared/components/list/list-types/endpoint/endpoint-card/endpoint-card.component.ts index 22843439b7..001218b451 100644 --- a/src/frontend/packages/core/src/shared/components/list/list-types/endpoint/endpoint-card/endpoint-card.component.ts +++ b/src/frontend/packages/core/src/shared/components/list/list-types/endpoint/endpoint-card/endpoint-card.component.ts @@ -64,7 +64,7 @@ export class EndpointCardComponent extends CardCell implements On @Input() component: EndpointListDetailsComponent; private endpointDetails: ViewContainerRef; - @ViewChild('endpointDetails', { read: ViewContainerRef }) set content(content: ViewContainerRef) { + @ViewChild('endpointDetails', { read: ViewContainerRef, static: true }) set content(content: ViewContainerRef) { this.endpointDetails = content; this.updateInnerComponent(); }