@using LucideBlazor @using Moonlight.Shared.Http.Responses.Admin @using ShadcnBlazor.Emptys @using ShadcnBlazor.Extras.Common @inject HttpClient HttpClient
@if (StatusDto.IsEnabled) { if (StatusDto.IsReachable) { } else { Container Helper unreachable The container helper is unreachable. No management actions are available } } else { Container Helper is disabled The container helper is disabled on this instance. This might be due to running a multiple container moonlight setup }
@code { private ContainerHelperStatusDto StatusDto; private async Task LoadAsync(LazyLoader _) { StatusDto = (await HttpClient.GetFromJsonAsync("api/admin/ch/status"))!; } }