fix(ui): tabelceller skæres af ved egen bredde (textMaxWidth); ens bygningsnavne slås sammen ('Chicken Coop x5') i Oversigt (v1.19.3.0)
This commit is contained in:
@@ -37,7 +37,7 @@ function SmartPickupFrame:flowCells(adEnv, run)
|
||||
end
|
||||
local from, to
|
||||
if row.kind == "outbound" then
|
||||
from = joinOr(mark(row.fromNames), i18n:getText("spu_flow_noSource"))
|
||||
from = ADFlowView.joinCounted(mark(row.fromNames), " + ", i18n:getText("spu_flow_noSource"))
|
||||
local seen, policies = {}, {}
|
||||
for _, policy in ipairs(row.policies) do
|
||||
if not seen[policy] then seen[policy] = true; table.insert(policies, i18n:getText("spu_policy_" .. policy)) end
|
||||
@@ -45,7 +45,7 @@ function SmartPickupFrame:flowCells(adEnv, run)
|
||||
to = joinOr(policies, i18n:getText("spu_flow_noProducts"))
|
||||
else
|
||||
from = i18n:getText("spu_from_allSilos")
|
||||
to = joinOr(mark(row.toNames), i18n:getText("spu_flow_noTarget"))
|
||||
to = ADFlowView.joinCounted(mark(row.toNames), " + ", i18n:getText("spu_flow_noTarget"))
|
||||
end
|
||||
local rule
|
||||
if row.kind == "outbound" then
|
||||
|
||||
Reference in New Issue
Block a user