Skip to content

Commit

Permalink
fix: hide selected organization from organization switcher drop-down …
Browse files Browse the repository at this point in the history
…[DVP-131]
  • Loading branch information
johnecon authored Aug 24, 2023
1 parent 8dfadfd commit 79a1851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authentication/components/TopBar/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const TopBar: React.FC<TopBarProps> = memo(
}
}}
buttonText={selectedOrganization?.display_name}
items={organizations.map((org) => org.display_name)}
items={organizations.filter((org) => org.display_name != selectedOrganization?.display_name).map((org) => org.display_name)}
/>
</div>
}
Expand Down

0 comments on commit 79a1851

Please sign in to comment.