fix(rules): fix rules search (#1267) (#1272)

This commit is contained in:
Plutonium141 2024-12-28 19:21:16 +08:00 committed by GitHub
parent 4bf631590c
commit 30f9bb4854
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,7 +73,7 @@ export default () => {
const filteredRules = createMemo(() =>
globalFilter()
? matchSorter(rules(), globalFilter(), {
keys: ['type', 'payload', 'type'] as (keyof Rule)[],
keys: ['type', 'payload', 'proxy'] as (keyof Rule)[],
})
: rules(),
)