Fix the default navigation theme selection on invalid id

parent a78657a6
......@@ -17,7 +17,7 @@
.preview-row
.quadrant.three
.quadrant.four
= f.radio_button :theme_id, theme.id
= f.radio_button :theme_id, theme.id, checked: Gitlab::Themes.for_user(@user).id == theme.id
= theme.name
.col-sm-12
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment