Skip to content

Commit

Permalink
Merge pull request #13201 from Expensify/aldo_fix-delete-workspace
Browse files Browse the repository at this point in the history
Revert filtering out workspaces with pending delete action
  • Loading branch information
luacmartins authored Nov 30, 2022
2 parents 2881f18 + 92f4c29 commit 4eb965d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/workspace/WorkspacesListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class WorkspacesListPage extends Component {
getWorkspaces() {
return _.chain(this.props.policies)
.filter(policy => policy && policy.type === CONST.POLICY.TYPE.FREE && policy.role === CONST.POLICY.ROLE.ADMIN)
.filter(policy => policy.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE)
.map(policy => ({
title: policy.name,
icon: policy.avatar ? policy.avatar : Expensicons.Building,
Expand Down

0 comments on commit 4eb965d

Please sign in to comment.