mirror of
https://github.com/payloadcms/payload.git
synced 2026-09-14 20:07:19 +08:00
7d2480aef9
Previously, collections with similar names (e.g., `uploads` and `uploads-poly`) both appeared active when viewing either collection. This was due to `pathname.startsWith(href)`, which caused partial matches. This update refines the `isActive` logic to prevent partial matches.
281 B
281 B