Don't immediately stop on click, rely on popconfirm
This commit is contained in:
parent
73a6371b53
commit
1a84c4c51a
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
@if (Status.GetValueOrDefault(context.Id) == ServerProcessStatus.Running)
|
@if (Status.GetValueOrDefault(context.Id) == ServerProcessStatus.Running)
|
||||||
{
|
{
|
||||||
<Popconfirm OnConfirm="() => Stop(context)" Title="Are you sure you want to kill this server process?">
|
<Popconfirm OnConfirm="() => Stop(context)" Title="Are you sure you want to kill this server process?">
|
||||||
<Button Danger Type="@ButtonType.Primary" OnClick="() => Stop(context)">Stop</Button>
|
<Button Danger Type="@ButtonType.Primary">Stop</Button>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
}
|
}
|
||||||
</SpaceItem>
|
</SpaceItem>
|
||||||
|
|
Loading…
Add table
Reference in a new issue