mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
chore: generate
This commit is contained in:
parent
736cd10847
commit
067338bc25
@ -24,11 +24,12 @@ export function useFilteredList<T>(props: FilteredListProps<T>) {
|
||||
const [grouped, { refetch }] = createResource(
|
||||
() => ({
|
||||
filter: store.filter,
|
||||
items: typeof props.items === "function"
|
||||
? props.items.length === 0
|
||||
? (props.items as () => T[])()
|
||||
: undefined
|
||||
: props.items,
|
||||
items:
|
||||
typeof props.items === "function"
|
||||
? props.items.length === 0
|
||||
? (props.items as () => T[])()
|
||||
: undefined
|
||||
: props.items,
|
||||
}),
|
||||
async ({ filter, items }) => {
|
||||
const needle = filter?.toLowerCase()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user