Fix the default navigation theme selection on invalid id

This commit is contained in:
Vitaliy @blackst0ne Klachkov 2017-09-14 09:29:50 +11:00
parent a78657a633
commit ffd5c98752

View file

@ -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