From dc994e791a729974a19001c37f451d18a787118f Mon Sep 17 00:00:00 2001 From: domsteinbach Date: Mon, 2 Dec 2024 17:38:13 +0100 Subject: [PATCH] fix: get the template on changes --- .../src/lib/property-value-switcher.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/vre/resource-editor/resource-properties/src/lib/property-value-switcher.component.ts b/libs/vre/resource-editor/resource-properties/src/lib/property-value-switcher.component.ts index f7b87fb9ee..699184d445 100644 --- a/libs/vre/resource-editor/resource-properties/src/lib/property-value-switcher.component.ts +++ b/libs/vre/resource-editor/resource-properties/src/lib/property-value-switcher.component.ts @@ -175,6 +175,7 @@ export class PropertyValueSwitcherComponent implements OnInit, OnChanges, AfterV } ngOnChanges(changes: SimpleChanges) { + this.itemTpl = this._getTemplate(); if (changes['editModeData']) { this._setupData(); }