fmt(js): `npm run fix` on merge (#85175)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
926c8d591a
commit
cc389f8155
|
|
@ -368,9 +368,7 @@ export function CronView({ onClose, onOpenSession, setStatusbarItemGroup: _setSt
|
|||
const list = blueprintsQuery.data ?? []
|
||||
const needle = query.trim().toLowerCase()
|
||||
|
||||
return needle
|
||||
? list.filter(item => `${item.title} ${item.description}`.toLowerCase().includes(needle))
|
||||
: list
|
||||
return needle ? list.filter(item => `${item.title} ${item.description}`.toLowerCase().includes(needle)) : list
|
||||
}, [blueprintsQuery.data, query])
|
||||
|
||||
// Detail always reflects a concrete job: the explicitly selected one, else the
|
||||
|
|
|
|||
Loading…
Reference in New Issue