Skip to content

Commit

Permalink
fix workspaces list rbr
Browse files Browse the repository at this point in the history
  • Loading branch information
NJ-2020 committed Aug 29, 2024
1 parent 071f11c commit 0c37d5b
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 @@ -306,7 +306,7 @@ function WorkspacesListPage({policies, reimbursementAccount, reports, session}:
* Add free policies (workspaces) to the list of menu items and returns the list of menu items
*/
const workspaces = useMemo(() => {
const reimbursementAccountBrickRoadIndicator = reimbursementAccount?.errors ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : undefined;
const reimbursementAccountBrickRoadIndicator = !isEmptyObject(reimbursementAccount?.errors) ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : undefined;
if (isEmptyObject(policies)) {
return [];
}
Expand Down

0 comments on commit 0c37d5b

Please sign in to comment.