From c866e89b725b03636a70060940066450250a376b Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Sat, 8 Jul 2023 02:50:13 +0200 Subject: [PATCH] Enhanced install console --- Moonlight/Shared/Views/Server/Index.razor | 31 +++++------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/Moonlight/Shared/Views/Server/Index.razor b/Moonlight/Shared/Views/Server/Index.razor index a146d133..3b7cabf3 100644 --- a/Moonlight/Shared/Views/Server/Index.razor +++ b/Moonlight/Shared/Views/Server/Index.razor @@ -26,7 +26,7 @@ @if (CurrentServer == null) { - + } else { @@ -34,33 +34,16 @@ { if (Console.ConsoleState == ConsoleState.Connected) { - if (Console.ServerState == ServerState.Installing) + if (Console.ServerState == ServerState.Installing || CurrentServer.Installing) {
-
-
- - Server installation is currently running - -
+
+ Server installation is currently running
- -
-
- } - else if (CurrentServer.Installing) - { -
-
-
-
- - Server installation is currently running - -
+
+
-
} @@ -104,7 +87,7 @@ - +