Skip to content

Commit

Permalink
Add errors object back, remove unused isPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Nov 4, 2022
1 parent 1dd7174 commit 5e28cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspacesListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}))
Expand Down

0 comments on commit 5e28cbc

Please sign in to comment.