ui: Disable start fuota deployment button once started.
Some checks are pending
CI / tests (postgres) (push) Waiting to run
CI / tests (sqlite) (push) Waiting to run
CI / dist (postgres) (push) Blocked by required conditions
CI / dist (sqlite) (push) Blocked by required conditions

This commit is contained in:
Orne Brocaar 2025-03-24 11:38:07 +00:00
parent 236b468aa4
commit 5ce35eef5e

View File

@ -168,7 +168,7 @@ function FuotaDeploymentLayout(props: IProps) {
description="Are you sure you want to start the deploymen? Once started, you will not be able to make changes."
onConfirm={startFuotaDeployment}
>
<Button type="primary">Start deployment</Button>
<Button type="primary" disabled={getFuotaDeploymentResponse.getStartedAt() !== undefined}>Start deployment</Button>
</Popconfirm>
<DeleteConfirm typ="FUOTA deployment" confirm={d.getName()} onConfirm={deleteFuotaDeployment}>
<Button danger type="primary">