Merge pull request #196 from Moonlight-Panel/SmallBugFixes
Small bug fixes
This commit is contained in:
@@ -285,7 +285,8 @@ public class ServerService
|
|||||||
Allocations = freeAllocations.ToList(),
|
Allocations = freeAllocations.ToList(),
|
||||||
Backups = new(),
|
Backups = new(),
|
||||||
OverrideStartup = "",
|
OverrideStartup = "",
|
||||||
DockerImageIndex = image.DockerImages.FindIndex(x => x.Default)
|
DockerImageIndex = image.DockerImages.FindIndex(x => x.Default),
|
||||||
|
Installing = true
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (var imageVariable in image.Variables)
|
foreach (var imageVariable in image.Variables)
|
||||||
|
|||||||
@@ -63,6 +63,8 @@
|
|||||||
private int Port;
|
private int Port;
|
||||||
|
|
||||||
protected override async Task OnParametersSetAsync()
|
protected override async Task OnParametersSetAsync()
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
Uri uri = new Uri(await Access.GetLaunchUrl());
|
Uri uri = new Uri(await Access.GetLaunchUrl());
|
||||||
|
|
||||||
@@ -70,6 +72,13 @@
|
|||||||
Port = uri.Port;
|
Port = uri.Port;
|
||||||
Username = uri.UserInfo.Split(':')[0];
|
Username = uri.UserInfo.Split(':')[0];
|
||||||
}
|
}
|
||||||
|
catch (NotImplementedException)
|
||||||
|
{
|
||||||
|
Host = "N/A";
|
||||||
|
Port = -1;
|
||||||
|
Username = "N/A";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public async Task Show()
|
public async Task Show()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<div class="app-sidebar-footer flex-column-auto pt-2 pb-6 px-6" id="kt_app_sidebar_footer">
|
<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">
|
<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>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user