diff options
| author | Adam <[email protected]> | 2025-11-05 11:55:31 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-11-05 11:55:35 -0600 |
| commit | d525fbf82940442d8d47265b7d7d0a9af8c282bc (patch) | |
| tree | 5404bdca83992a030fea1693227343d2d401376c /packages/ui/src/components/select-dialog.tsx | |
| parent | 69a499f80786b2656121cee4469f39df2e6c40e7 (diff) | |
| download | opencode-d525fbf82940442d8d47265b7d7d0a9af8c282bc.tar.gz opencode-d525fbf82940442d8d47265b7d7d0a9af8c282bc.zip | |
feat(desktop): session router, interrupt agent, visual cleanup
Diffstat (limited to 'packages/ui/src/components/select-dialog.tsx')
| -rw-r--r-- | packages/ui/src/components/select-dialog.tsx | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/packages/ui/src/components/select-dialog.tsx b/packages/ui/src/components/select-dialog.tsx index 63fad13ec..7018888f3 100644 --- a/packages/ui/src/components/select-dialog.tsx +++ b/packages/ui/src/components/select-dialog.tsx @@ -21,15 +21,16 @@ export function SelectDialog<T>(props: SelectDialogProps<T>) { mouseActive: false, }) - const { filter, grouped, flat, reset, clear, active, setActive, onKeyDown, onInput } = useFilteredList<T>({ - items: others.items, - key: others.key, - filterKeys: others.filterKeys, - current: others.current, - groupBy: others.groupBy, - sortBy: others.sortBy, - sortGroupsBy: others.sortGroupsBy, - }) + const { filter, grouped, flat, reset, clear, active, setActive, onKeyDown, onInput } = + useFilteredList<T>({ + items: others.items, + key: others.key, + filterKeys: others.filterKeys, + current: others.current, + groupBy: others.groupBy, + sortBy: others.sortBy, + sortGroupsBy: others.sortGroupsBy, + }) createEffect(() => { filter() @@ -117,7 +118,8 @@ export function SelectDialog<T>(props: SelectDialogProps<T>) { fallback={ <div data-slot="empty-state"> <div data-slot="message"> - {props.emptyMessage ?? "No search results"} for <span data-slot="filter">"{filter()}"</span> + {props.emptyMessage ?? "No search results"} for{" "} + <span data-slot="filter">"{filter()}"</span> </div> </div> } |
