From ef87a9e1b5ffd044452c6bab1bfaebbca1b83b29 Mon Sep 17 00:00:00 2001 From: caseyhebebrand Date: Thu, 7 Jan 2021 12:48:10 -0800 Subject: [PATCH] fix(core/executions): Update migrated status to match API (#8831) --- .../src/pipeline/executions/executionGroup/ExecutionGroup.tsx | 2 +- .../pipeline/executions/executionGroup/ExecutionGroups.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/modules/core/src/pipeline/executions/executionGroup/ExecutionGroup.tsx b/app/scripts/modules/core/src/pipeline/executions/executionGroup/ExecutionGroup.tsx index e0687a2faf9..1f53c8ee757 100644 --- a/app/scripts/modules/core/src/pipeline/executions/executionGroup/ExecutionGroup.tsx +++ b/app/scripts/modules/core/src/pipeline/executions/executionGroup/ExecutionGroup.tsx @@ -253,7 +253,7 @@ export class ExecutionGroup extends React.PureComponent 0; diff --git a/app/scripts/modules/core/src/pipeline/executions/executionGroup/ExecutionGroups.tsx b/app/scripts/modules/core/src/pipeline/executions/executionGroup/ExecutionGroups.tsx index 9e1b2a3302a..d9a887a5a0a 100644 --- a/app/scripts/modules/core/src/pipeline/executions/executionGroup/ExecutionGroups.tsx +++ b/app/scripts/modules/core/src/pipeline/executions/executionGroup/ExecutionGroups.tsx @@ -91,8 +91,8 @@ export class ExecutionGroups extends React.Component g.config.migrationStatus === 'STARTED') - .concat(groups.filter((g) => g.config.migrationStatus !== 'STARTED')); + .filter((g: IExecutionGroup) => g.config.migrationStatus === 'Started') + .concat(groups.filter((g) => g.config.migrationStatus !== 'Started')); const executionGroups = allGroups.map((group: IExecutionGroup) => (