diff --git a/src/components/CommandComboBox.tsx b/src/components/CommandComboBox.tsx index 725c1643e..568fb7949 100644 --- a/src/components/CommandComboBox.tsx +++ b/src/components/CommandComboBox.tsx @@ -75,34 +75,40 @@ function CommandComboBox({ autoFocus /> - - {filteredOptions?.map((option) => ( - - {'icon' in option && option.icon && ( - - )} -
-

- {option.displayName || option.name}{' '} -

- {option.description && ( -

- {option.description} -

+ {filteredOptions?.length ? ( + + {filteredOptions?.map((option) => ( + + {'icon' in option && option.icon && ( + )} -
-
- ))} -
+
+

+ {option.displayName || option.name}{' '} +

+ {option.description && ( +

+ {option.description} +

+ )} +
+ + ))} + + ) : ( +

+ No results found +

+ )} ) }