Fix the default navigation theme selection on invalid id

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册