(index: number)
| 569 | const subEntryPages = createMemo(() => chunkArray(subEntries(), 100)) |
| 570 | |
| 571 | const pageHasMatch = (index: number) => |
| 572 | !!( |
| 573 | props.search && |
| 574 | subEntryPages()[index]?.some( |
| 575 | (entry) => props.search?.match.children.get(entry.key)?.hasMatch, |
| 576 | ) |
| 577 | ) |
| 578 | const matchingPage = createMemo(() => |
| 579 | subEntryPages().findIndex((_, index) => pageHasMatch(index)), |
| 580 | ) |