fix: command palette search (#6651)

This commit is contained in:
Prateek Shourya 2025-02-20 17:59:32 +05:30 committed by GitHub
parent 8bcc295061
commit 8fa45ef9a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -28,6 +28,7 @@ export const CommandPaletteSearchResults: React.FC<Props> = (props) => {
const section = (results.results as any)[key];
const currentSection = commandGroups[key];
if (!currentSection) return null;
if (section.length > 0) {
return (
<Command.Group key={key} heading={`${currentSection.title} search`}>