From f54e5d87161acf222766f67b2ffc9dde028a55c5 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Thu, 4 Jul 2024 11:24:44 +0200 Subject: [PATCH] Switched to nuget version of mooncore --- Moonlight/Features/Servers/UI/Views/Admin/Index.razor | 2 ++ Moonlight/Moonlight.csproj | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Moonlight/Features/Servers/UI/Views/Admin/Index.razor b/Moonlight/Features/Servers/UI/Views/Admin/Index.razor index c64d9a18..f6f1f1f0 100644 --- a/Moonlight/Features/Servers/UI/Views/Admin/Index.razor +++ b/Moonlight/Features/Servers/UI/Views/Admin/Index.razor @@ -184,6 +184,7 @@ { component.MinimumUnit = "MB"; component.DefaultUnit = "GB"; + component.Converter = 1; }) .WithValidation(x => x > 0 ? ValidationResult.Success : new("You need to provide a valid value")) .WithSection("Resources") @@ -194,6 +195,7 @@ { component.MinimumUnit = "MB"; component.DefaultUnit = "GB"; + component.Converter = 1; }) .WithValidation(x => x > 0 ? ValidationResult.Success : new("You need to provide a valid value")) .WithSection("Resources") diff --git a/Moonlight/Moonlight.csproj b/Moonlight/Moonlight.csproj index eef9b2c1..e568d9a5 100644 --- a/Moonlight/Moonlight.csproj +++ b/Moonlight/Moonlight.csproj @@ -94,16 +94,11 @@ runtime; build; native; contentfiles; analyzers; buildtransitive + - - - - ..\..\..\Masu-Baumgartner\MoonCore\MoonCore\MoonCore.Blazor\bin\Debug\net8.0\MoonCore.Blazor.dll - -