Skip to content

Commit

Permalink
fix(infobox): wc item infobox showing table at teh bottom (#4935)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpalpha authored Oct 22, 2024
1 parent 6e8ee1c commit 6363f27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/infobox/wikis/warcraft/infobox_item_custom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ end
function CustomInjector:parse(id, widgets)
local args = self.caller.args
if id == 'custom' then
return {
return Array.append(
args.desc and Title{children = 'Description'} or nil,
Center{children = {args.desc}},
args.history and Title{children = 'Item History'} or nil,
Center{children = {args.history}}
}
)
elseif id == 'info' then
return {
Title{children = 'Item Information'},
Expand Down

0 comments on commit 6363f27

Please sign in to comment.