Fix the default navigation theme selection on invalid id
This commit is contained in:
parent
a78657a633
commit
ffd5c98752
|
@ -17,7 +17,7 @@
|
||||||
.preview-row
|
.preview-row
|
||||||
.quadrant.three
|
.quadrant.three
|
||||||
.quadrant.four
|
.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
|
= theme.name
|
||||||
|
|
||||||
.col-sm-12
|
.col-sm-12
|
||||||
|
|
Loading…
Reference in New Issue