Fix Danger Buttons

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-01-12 12:11:14 -05:00
parent aa8a719154
commit ef0bc8c313
7 changed files with 13 additions and 8 deletions

View File

@@ -74,7 +74,8 @@ function VehicleDetailFormContainer({ vehicle, refetch }) {
title={t("vehicles.labels.deleteconfirm")}
>
<Button
type="danger"
type="primary"
danger
loading={loading}
disabled={vehicle.jobs.length !== 0}
>