Include build trace status in data attribute always

This commit is contained in:
Grzegorz Bizon 2016-11-22 13:37:23 +01:00
parent 07ce4c28b3
commit 6a18a78184

View file

@ -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