Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Jun 11, 2024
1 parent 260d671 commit 001c72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspacesListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ function WorkspacesListPage({policies, reimbursementAccount, reports, session}:
if (isEmptyObject(policies)) {
return [];
}
console.log('policies: ', policies);

return Object.values(policies)
.filter((policy): policy is PolicyType => PolicyUtils.shouldShowPolicy(policy, !!isOffline))
.map((policy): WorkspaceItem => {
Expand Down

0 comments on commit 001c72d

Please sign in to comment.