Skip to content

Commit

Permalink
nil check just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed May 7, 2024
1 parent 76facc1 commit d50a0ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ElvUI_EltreumUI/Modules/Misc/LFGList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ function ElvUI_EltreumUI:DungeonRoleIcons()
local function SearchEntry_Update(entry)
if _G.LFGListFrame.EntryCreation:IsShown() then return end
if not _G.LFGListFrame.SearchPanel:IsShown() then return end
if not entry.resultID then return end
local resultInfo = C_LFGList.GetSearchResultInfo(entry.resultID)
local activityTable = C_LFGList.GetActivityInfoTable(resultInfo.activityID)
local categoryID = activityTable.categoryID
Expand Down

0 comments on commit d50a0ae

Please sign in to comment.