From 196869d63181731f863f50f21e2ea91fff36b676 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 27 Apr 2023 17:29:28 +0200 Subject: [PATCH] Fix refresh display selezione tendina --- .../Components/Hardware/HwSingleInstance.razor | 6 +++--- .../Components/Hardware/HwSingleInstance.razor.cs | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/WebDoorCreator.UI/Components/Hardware/HwSingleInstance.razor b/WebDoorCreator.UI/Components/Hardware/HwSingleInstance.razor index b76f18e..c570a6e 100644 --- a/WebDoorCreator.UI/Components/Hardware/HwSingleInstance.razor +++ b/WebDoorCreator.UI/Components/Hardware/HwSingleInstance.razor @@ -1,4 +1,4 @@ -@if (currVal == null) +@if (currVal == null || isLoading) { } @@ -49,7 +49,7 @@ else Template - @if (listValuesFiles != null && listValuesFiles.Count > 0) + @if (listValuesFiles != null && listValuesFiles.Count > 0 && !string.IsNullOrEmpty(templateName)) {