feat: close dropdown after changing type (#5450)

This commit is contained in:
Sanjay Sargam 2024-01-02 19:03:55 +05:30 committed by GitHub
parent a7d81dd2f5
commit 86a9f4f890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ class DirectoryView extends React.Component<IDirectoryViewProps, IDirectoryViewS
} else if (type === 'teams') { } else if (type === 'teams') {
logEvent(events.DIRECTORY_SEARCH_TEAMS); logEvent(events.DIRECTORY_SEARCH_TEAMS);
} }
this.toggleDropdown()
}; };
toggleWorkspace = () => { toggleWorkspace = () => {