CEC-4920: Add redeploy bulk-action (#420)

* standardize bulk actions

* add redploy bulk-action

* add cases to disable redeploy

* update status check

* rename func
This commit is contained in:
Tristan Timblin
2023-09-18 13:59:45 -07:00
committed by GitHub
parent 9f16e1ebf5
commit 3177d65e3d
27 changed files with 215 additions and 422 deletions

View File

@@ -62,7 +62,7 @@ export const CarUpdatesProvider = ({ children }) => {
setBusy(true);
result = await api.deployCarUpdate(id, token);
if (result.error)
throw new Error(`Cancel car update error. ${result.message}`);
throw new Error(`Retry car update error. ${result.message}`);
} finally {
setBusy(false);
}