feat: add loading dialog for when rebuilding machine request was loading
This commit is contained in:
@@ -235,9 +235,11 @@ export const columns: ColumnDef<Machine>[] = [
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem
|
||||
onClick={() => {
|
||||
buildMachine({
|
||||
callServerPromise(buildMachine({
|
||||
id: machine.id,
|
||||
});
|
||||
}), {
|
||||
loadingText: "Starting machine build process"
|
||||
})
|
||||
}}
|
||||
>
|
||||
Rebuild
|
||||
|
||||
Reference in New Issue
Block a user