Primary nav fails to render with trailing space in cluster badge color #12272
Labels
JIRA
kind/bug
QA/dev-automation
Issues that engineers have written automation around so QA doesn't have look at this
status/backport-candidate
Milestone
The primary navigation bar in Rancher Dashboard fails to render if a space is entered for a custom badge color for a cluster.
Steps to reproduce
ui.rancher/badge-color
so that it contains trailing whitespace (e.gui.rancher/badge-color: '#1a5fb4 '
Expected behavior
No errors in the console and primary navigation renders
Actual behavior
Error is printed to the console
Primary navigation fails to render
Screenshots
The text was updated successfully, but these errors were encountered: