mirror of
https://github.com/discourse/discourse.git
synced 2026-08-02 09:29:37 -05:00
The subcategory dropdown is showing parent categories due to ancestor data being passed to the category link component. The ancestor option should respect the `hideParentCategory` option passed down from select-kit. ### Before <img width="489" height="322" alt="Screenshot 2025-10-31 at 2 19 49 PM" src="https://github.com/user-attachments/assets/17ce5002-0c69-4a9f-8d21-62e7a4bb517e" /> ### After <img width="482" height="338" alt="Screenshot 2025-10-31 at 2 19 16 PM" src="https://github.com/user-attachments/assets/1d251649-f77f-48cb-b407-bdbf40627607" />