Firewall alias first page list view does not display category color dot consistently
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- [ x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- [ x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
The first page of the Firewall alias list does not always show the category dot. Refreshing the list will cause the category dot to display.
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:
- Ensure you have a category defined and that the first page of the firewall alias has one alias that allows a category label to be added. I can duplicate the issue with 7 or 100 items listed so increase the list length if needed.
- Set sort to by name. I duplicated the issue with Description sorted, so it may not be dependent which field is sorted.
- Add category to an alias on the first page and click apply. Confirm that the category color dot is is visible next to the alias name.
- Select Firewall->Categories
- Select Firewall->Aliases. Category color dot is missing from the alias.
- Repeat steps 4 and 5. Sometimes switching out and back needs to be done more than once to get the dot to disappear.
Expected behavior
Category color dot should always appear next to alias name when a category is set for that alias.
Describe alternatives you considered
None. This is a display issue and the category is working correctly.
Screenshots
My Alias list with the category dot color correctly displayed.
Relevant log files
If applicable, information from log files supporting your claim.
Additional context
Add any other context about the problem here.
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.7.6-amd64 OPNsense 24.7.5-amd64 (duplicated problem in a clean test environment) Safari 18.0.1 on Mac Also duplicated on Google Chrome 129.0.6668.101 on Mac