diff --git a/apps/app/components/ui/multi-level-dropdown.tsx b/apps/app/components/ui/multi-level-dropdown.tsx index 9a4ebdbe4..cfdaa72d5 100644 --- a/apps/app/components/ui/multi-level-dropdown.tsx +++ b/apps/app/components/ui/multi-level-dropdown.tsx @@ -66,7 +66,7 @@ export const MultiLevelDropdown: React.FC = ({ > {options.map((option) => (
@@ -107,7 +107,7 @@ export const MultiLevelDropdown: React.FC = ({ {option.hasChildren && option.id === openChildFor && (
= ({ > {option.children ? (
- {option.children.map((child) => { - if (child.element) return child.element; - else - return ( - - ); - })} + {option.children.length === 0 ? ( +

+ No {option.label} found +

//if no children found, show this message. + ) : ( + option.children.map((child) => { + if (child.element) return child.element; + else + return ( + + ); + }) + )}
) : (