Skip to content

Commit

Permalink
Reset search query in OrganizationSelector component after organizati…
Browse files Browse the repository at this point in the history
…on selection
  • Loading branch information
bodhish committed Jan 13, 2025
1 parent 31ff36c commit cc1b2bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/Organization/components/OrganizationSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ export default function OrganizationSelector(props: OrganizationSelectorProps) {
if (!selectedOrg.has_children) {
onChange(selectedOrg.id);
}

setSearchQuery("");
};

const getOrganizationOptions = (
Expand Down

0 comments on commit cc1b2bf

Please sign in to comment.