Skip to content

Commit

Permalink
#1362 Disable the OK button when starting a promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Dec 7, 2024
1 parent e75c1ff commit 1a4c0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ontrack-web-core/components/form/FormDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function FormDialog({dialog, onValuesChange, children, hasOk = tr
</Button>
{
hasOk &&
<Button type="primary" htmlType="submit" disabled={!submittable}>
<Button loading={loading} type="primary" htmlType="submit" disabled={loading || !submittable}>
OK
</Button>
}
Expand Down

0 comments on commit 1a4c0c4

Please sign in to comment.