summaryrefslogtreecommitdiff
path: root/app/helpers/builds_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/builds_helper.rb')
-rw-r--r--app/helpers/builds_helper.rb2
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