Merge pull request #196 from Moonlight-Panel/SmallBugFixes

Small bug fixes
This commit is contained in:
Marcel Baumgartner
2023-06-26 18:05:58 +02:00
committed by GitHub
3 changed files with 17 additions and 7 deletions

View File

@@ -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)

View File

@@ -63,6 +63,8 @@
private int Port;
protected override async Task OnParametersSetAsync()
{
try
{
Uri uri = new Uri(await Access.GetLaunchUrl());
@@ -70,6 +72,13 @@
Port = uri.Port;
Username = uri.UserInfo.Split(':')[0];
}
catch (NotImplementedException)
{
Host = "N/A";
Port = -1;
Username = "N/A";
}
}
public async Task Show()
{

View File

@@ -38,7 +38,7 @@
<div class="app-sidebar-footer flex-column-auto pt-2 pb-6 px-6" id="kt_app_sidebar_footer">
<a href="/support" class="btn btn-flex flex-center btn-custom btn-primary overflow-hidden text-nowrap px-0 h-40px w-100 btn-label">
<TL>Open support</TL>
<i class="bx bx-sm bx-support"></i>
</a>
</div>
</div>