Refactored and cleaned some stuff
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
|
||||
private async Task SendCommand()
|
||||
{
|
||||
await ServerService.SendCommand(Server, CommandInput);
|
||||
await ServerService.Console.SendCommand(Server, CommandInput);
|
||||
CommandInput = "";
|
||||
|
||||
await InvokeAsync(StateHasChanged);
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
private async Task ResetServer()
|
||||
{
|
||||
await ServerService.SendPowerAction(Server, PowerAction.Install);
|
||||
await ServerService.Console.SendAction(Server, PowerAction.Install);
|
||||
}
|
||||
|
||||
private async Task OnStateChanged()
|
||||
|
||||
Reference in New Issue
Block a user