CEC-4157 - Add new statuses to car_update_progress (#334)
* CEC-4157 - Add new statuses to car_update_progress * small fix
This commit is contained in:
@@ -56,9 +56,11 @@ const PHASES = [
|
||||
s.Installing,
|
||||
s.InstallSucceeded,
|
||||
s.InstallFailed,
|
||||
s.RequirementsFailed,
|
||||
s.InstallScheduled,
|
||||
],
|
||||
progress: (msg, progress) => {
|
||||
if (msg === s.InstallFailed) return ErrorStatus;
|
||||
if (msg === s.InstallFailed || msg === s.RequirementsFailed) return ErrorStatus;
|
||||
if (msg === s.PackageInstallCompleted) return CompleteStatus;
|
||||
return progress;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user