@using MoonCore.Blazor.FlyonUi.Components @using MoonlightServers.Frontend.UI.Components.Forms @using MoonlightServers.Shared.Http.Requests.Admin.StarDockerImages @inherits MoonCore.Blazor.FlyonUi.Modals.Components.BaseModal

Add a new docker image

Add a new docker image to the star

Create
@code { [Parameter] public Func OnSubmit { get; set; } private CreateStarDockerImageRequest Form; private HandleForm HandleForm; protected override void OnInitialized() { // Set default values Form = new() { AutoPulling = true }; } private async Task OnValidSubmit() { await OnSubmit.Invoke(Form); await HideAsync(); } private Task SubmitAsync() => HandleForm.SubmitAsync(); }