Merge branch 'develop' into standalone_develop
This commit is contained in:
commit
c6152aaca8
|
@ -15,8 +15,8 @@ if @result_object[:data]["Runs"].present?
|
|||
end
|
||||
|
||||
json.status run["Status"]
|
||||
json.time_ago time_from_now(run["Started"])
|
||||
json.holding_time run["Status"] == 6 ? Time.now.to_i - run["Started"] : run["Stopped"] - run["Started"]
|
||||
json.time_ago time_from_now(run["Created"])
|
||||
json.holding_time run["Status"] == 6 ? Time.now.to_i - run["Created"] : run["Stopped"] - run["Created"]
|
||||
end
|
||||
else
|
||||
json.runs []
|
||||
|
|
Loading…
Reference in New Issue