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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user