fix(oversigt): kædeflows uden traktor foldet sammen, 'mangler traktor/vogn' som status (v1.61.12.0)
This commit is contained in:
@@ -83,6 +83,11 @@ function ADFlowView.shortVehicleName(name)
|
||||
return short
|
||||
end
|
||||
|
||||
-- Kædeflow uden traktor (venter på en ledig traktor/vogn).
|
||||
function ADFlowView.isIdleChain(run)
|
||||
return run.chain ~= nil and run.chain ~= "" and #(run.vehicleIds or {}) == 0
|
||||
end
|
||||
|
||||
-- Kædeflows uden traktor foldes sammen i listen (de venter på en ledig traktor/vogn). -> active, idle
|
||||
function ADFlowView.splitIdle(runs)
|
||||
local active, idle = {}, {}
|
||||
|
||||
Reference in New Issue
Block a user