Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua/wikis/commons/Widget/Table2/Cell.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ local function Table2Cell(props, context)
props.align,
props.nowrap,
props.shrink,
props.attributes
ColumnUtil.buildAttributes(props)
),
classes = props.classes,
children = children,
Expand Down
2 changes: 1 addition & 1 deletion lua/wikis/commons/Widget/Table2/CellHeader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ local function Table2CellHeader(props, context)
-- Skip context lookups and property merging if there are no column definitions
if #columns == 0 then
local align = props.align
local attributes = props.attributes or {}
local attributes = ColumnUtil.buildAttributes(props)
if align == 'right' or align == 'center' then
attributes['data-align'] = align
end
Expand Down
Loading