diff options
| author | Filipa Lacerda <lacerda.filipa@gmail.com> | 2017-02-13 17:04:57 +0000 |
|---|---|---|
| committer | Filipa Lacerda <lacerda.filipa@gmail.com> | 2017-02-13 17:04:57 +0000 |
| commit | 82199c6c844dd2d78fb0ca414a2cb1ac44e7b87f (patch) | |
| tree | 64be88ada577a2c61c1f453c3dbd2c181ed10e34 /app/helpers | |
| parent | 018a7c6a550494a7dd386450b464d5692413f319 (diff) | |
| parent | f2aa9b463086697771e2bf936a7d272307bcbd67 (diff) | |
| download | gitlab-ce-82199c6c844dd2d78fb0ca414a2cb1ac44e7b87f.tar.gz | |
Merge branch '27939-fix-current-build-arrow' into 'master'
Fix current build arrow
Closes #27939
See merge request !9154
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/builds_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/builds_helper.rb b/app/helpers/builds_helper.rb index 9fc69e12266..ff937b5ebd2 100644 --- a/app/helpers/builds_helper.rb +++ b/app/helpers/builds_helper.rb @@ -1,7 +1,7 @@ module BuildsHelper def sidebar_build_class(build, current_build) build_class = '' - build_class += ' active' if build == current_build + build_class += ' active' if build.id === current_build.id build_class += ' retried' if build.retried? build_class end |
