fix(marksilo): kolonneoverskrift 'En route' klippes ikke; liter vises kompakt (v1.59.10.0)
This commit is contained in:
@@ -77,8 +77,8 @@ function SmartPickupFrame:fillFieldSiloRows(adEnv)
|
||||
local state = i18n:getText("spu_fs_state_" .. entry.state)
|
||||
if entry.state == "noFarmStore" then state = string.format(state, title) end
|
||||
if entry.toProduction then state = state .. " " .. i18n:getText("spu_fs_toFactory") end
|
||||
self:addCellRow(self.fieldPrefab, {tostring(entry.siloName), title, string.format("%d", math.floor(entry.liters)),
|
||||
string.format("%d", math.floor(entry.onWay)), state, ""})
|
||||
self:addCellRow(self.fieldPrefab, {tostring(entry.siloName), title, SmartPickupFrame.formatCompact(entry.liters or 0),
|
||||
SmartPickupFrame.formatCompact(entry.onWay or 0), state, ""})
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user