Setup
- Rancher version: Unknown (flavio reported the issue in neuvector/security-ui-exts without Rancher version.)
- Rancher UI Extensions: SOMBScanner UI extension 0.5.0
- Browser type & version:
Describe the bug
The number in the sidebar for resource page records is not showing correct.
To Reproduce
- Deploy SBOMscanner backend + UI extension on a single node cluster (I'm using minikube)
- Add Registry with manual scanning
- In the left sidebar, the number next to "Registries Configuration" is 1
- Restart the cluster
- In the left sidebar, the number next to "Registries Configuration" is 0 (instead of 1)
- Add a new Registry, the number next to "Registries Configuration" is 1 (instead of 2)
- Remove a Registry, the number next to "Registries Configuration" is 0 (instead of 1)
I've tried to force a reload of the page several times, it didn't help. I've even done that ~10 minutes after the cluster was restarted. Still no result.
Result
The menu always shows wrong number after step 4
Expected Result
It should always show correct number according to the realtime record count in the table
Screenshots

Additional context
If there is any questions regarding reproduction, please contact flavio
Setup
Describe the bug
The number in the sidebar for resource page records is not showing correct.
To Reproduce
I've tried to force a reload of the page several times, it didn't help. I've even done that ~10 minutes after the cluster was restarted. Still no result.
Result
The menu always shows wrong number after step 4
Expected Result
It should always show correct number according to the realtime record count in the table
Screenshots

Additional context
If there is any questions regarding reproduction, please contact flavio