From 6a18a78184293863eafc9b9b1a9e7fd5687a507c Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Tue, 22 Nov 2016 13:37:23 +0100 Subject: Include build trace status in data attribute always --- app/helpers/builds_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/helpers/builds_helper.rb b/app/helpers/builds_helper.rb index fde297c588e..9662ac7e341 100644 --- a/app/helpers/builds_helper.rb +++ b/app/helpers/builds_helper.rb @@ -12,7 +12,7 @@ module BuildsHelper build_url: namespace_project_build_url(@project.namespace, @project, @build, :json), build_status: @build.status, build_stage: @build.stage, - state1: @build.trace_with_state[:state] + state1: @build.trace_with_state[:state].to_s } end end -- cgit v1.2.1