(index: number)
| 532 | const subEntryPages = createMemo(() => chunkArray(subEntries(), 100)) |
| 533 | |
| 534 | const pageHasMatch = (index: number) => |
| 535 | !!( |
| 536 | props.search && |
| 537 | subEntryPages()[index]?.some( |
| 538 | (entry) => props.search?.match.children.get(entry.key)?.hasMatch, |
| 539 | ) |
| 540 | ) |
| 541 | const matchingPage = createMemo(() => |
| 542 | subEntryPages().findIndex((_, index) => pageHasMatch(index)), |
| 543 | ) |