From 5e28cbc3bee972ffa3f4fea3d160f938b503fa3e Mon Sep 17 00:00:00 2001 From: rory Date: Thu, 3 Nov 2022 18:38:35 -0700 Subject: [PATCH] Add errors object back, remove unused isPolicy --- src/pages/workspace/WorkspacesListPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/WorkspacesListPage.js b/src/pages/workspace/WorkspacesListPage.js index 577d01599b02..e75bfe2dead8 100755 --- a/src/pages/workspace/WorkspacesListPage.js +++ b/src/pages/workspace/WorkspacesListPage.js @@ -126,7 +126,7 @@ class WorkspacesListPage extends Component { fallbackIcon: Expensicons.FallbackWorkspaceAvatar, brickRoadIndicator: PolicyUtils.getPolicyBrickRoadIndicatorStatus(policy, this.props.policyMembers), pendingAction: policy.pendingAction, - isPolicy: true, + errors: policy.errors, dismissError: () => dismissWorkspaceError(policy.id, policy.pendingAction), disabled: policy.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE, }))