diff options
author | Vitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com> | 2017-09-14 09:29:50 +1100 |
---|---|---|
committer | Vitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com> | 2017-09-14 09:29:50 +1100 |
commit | ffd5c98752af378a562e46b6b0fff3f4d7233a19 (patch) | |
tree | 1ec844d2ad55ea10e2350270720dc249738fdf67 /app/views/profiles/preferences/show.html.haml | |
parent | a78657a633c1a8fe0aa2c36a2f912ade32327747 (diff) | |
download | gitlab-ce-ffd5c98752af378a562e46b6b0fff3f4d7233a19.tar.gz |
Fix the default navigation theme selection on invalid id
Diffstat (limited to 'app/views/profiles/preferences/show.html.haml')
-rw-r--r-- | app/views/profiles/preferences/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml index 69885008ecd..66d1d1e8d44 100644 --- a/app/views/profiles/preferences/show.html.haml +++ b/app/views/profiles/preferences/show.html.haml @@ -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 |