From 7feccc8d9f39f01c726f77066d3ba8275bf60661 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Mon, 26 Jun 2023 17:19:32 +0200 Subject: [PATCH 1/3] Fixed error loop for fileaccess providers not supporting the launch url --- .../ConnectionDetailsModal.razor | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Moonlight/Shared/Components/FileManagerPartials/ConnectionDetailsModal.razor b/Moonlight/Shared/Components/FileManagerPartials/ConnectionDetailsModal.razor index f46dffa..50f7eae 100644 --- a/Moonlight/Shared/Components/FileManagerPartials/ConnectionDetailsModal.razor +++ b/Moonlight/Shared/Components/FileManagerPartials/ConnectionDetailsModal.razor @@ -64,11 +64,20 @@ protected override async Task OnParametersSetAsync() { - Uri uri = new Uri(await Access.GetLaunchUrl()); - - Host = uri.Host; - Port = uri.Port; - Username = uri.UserInfo.Split(':')[0]; + try + { + Uri uri = new Uri(await Access.GetLaunchUrl()); + + Host = uri.Host; + Port = uri.Port; + Username = uri.UserInfo.Split(':')[0]; + } + catch (NotImplementedException) + { + Host = "N/A"; + Port = -1; + Username = "N/A"; + } } public async Task Show() From f2ec43f2d2bfb94eddccc520d66b5b57c5b2fd84 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Mon, 26 Jun 2023 17:19:54 +0200 Subject: [PATCH 2/3] Fixed not enabled installing screen for new servers --- Moonlight/App/Services/ServerService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Moonlight/App/Services/ServerService.cs b/Moonlight/App/Services/ServerService.cs index 4ec1044..c10fc33 100644 --- a/Moonlight/App/Services/ServerService.cs +++ b/Moonlight/App/Services/ServerService.cs @@ -285,7 +285,8 @@ public class ServerService Allocations = freeAllocations.ToList(), Backups = new(), OverrideStartup = "", - DockerImageIndex = image.DockerImages.FindIndex(x => x.Default) + DockerImageIndex = image.DockerImages.FindIndex(x => x.Default), + Installing = true }; foreach (var imageVariable in image.Variables) From d2ccc84286212ed9e64843056c0d09d7c3f0e031 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Mon, 26 Jun 2023 17:23:25 +0200 Subject: [PATCH 3/3] Fixed sidebar text sizing issues --- Moonlight/Shared/Components/Partials/Sidebar.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moonlight/Shared/Components/Partials/Sidebar.razor b/Moonlight/Shared/Components/Partials/Sidebar.razor index d20821a..a3982aa 100644 --- a/Moonlight/Shared/Components/Partials/Sidebar.razor +++ b/Moonlight/Shared/Components/Partials/Sidebar.razor @@ -38,7 +38,7 @@