scylladb / argus

Apache License 2.0
4 stars 11 forks source link

fix(frontend/WorkArea): Use entity ids for sidebar buttons #434

Closed k0machi closed 3 months ago

k0machi commented 3 months ago

This commit fixes an issue that might occur in cases where sanitizeSelector function fails sanitize a selector made out of concatenated release/group name, leading to a crash. The new method uses UUID of the button object, i.e. either group id or release id, preventing the issue from ever occuring.