Skip to content

Commit

Permalink
Update infobox_item_custom.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanopedia authored Oct 21, 2024
1 parent bf30754 commit 03a52c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/infobox/wikis/deadlock/infobox_item_custom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,13 @@ function CustomItem:getWikiCategories(args)

if String.isNotEmpty(args.category) then
table.insert(categories, args.category .. ' Items')
end
end

local possibleCategories = {
['Items with Active Abilities'] = 'active',
['Items with Passive Abilities'] = 'passive',
}



for category, requiredArg in pairs(possibleCategories) do
if String.isNotEmpty(args[requiredArg]) then
table.insert(categories, category)
Expand Down

0 comments on commit 03a52c9

Please sign in to comment.