mirror of
https://codeberg.org/demostf/inspector.git
synced 2026-06-03 10:04:09 +02:00
filter by value
This commit is contained in:
parent
210e3dec9a
commit
a653d1c0e3
1 changed files with 2 additions and 1 deletions
|
|
@ -154,7 +154,8 @@ export function filterMessage(
|
|||
}
|
||||
|
||||
export function filterEntity(class_id: number, props: SendProp[], search: Search): boolean {
|
||||
return search.classIds.includes(class_id) || props.some(prop => search.propIds.includes(prop.identifier));
|
||||
return search.classIds.includes(class_id) || props.some(prop => search.propIds.includes(prop.identifier))
|
||||
|| props.some(prop => prop.value == search.filter);
|
||||
}
|
||||
|
||||
function filterStringTable(table: StringTable, search: Search): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue