add missing dynamic group handling for non awesome_wotlk user
This commit is contained in:
@@ -142,11 +142,16 @@ local function createOptions(id, data)
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Group by Frame"],
|
||||
order = 1.6,
|
||||
values = {
|
||||
["UNITFRAME"] = L["Unit Frames"],
|
||||
["NAMEPLATE"] = L["Nameplates"],
|
||||
["CUSTOM"] = L["Custom Frames"],
|
||||
},
|
||||
values = function()
|
||||
local v = {
|
||||
["UNITFRAME"] = L["Unit Frames"],
|
||||
["CUSTOM"] = L["Custom Frames"]
|
||||
}
|
||||
if WeakAuras.isAwesomeEnabled then
|
||||
v["NAMEPLATE"] = L["Nameplates"]
|
||||
end
|
||||
return v
|
||||
end,
|
||||
hidden = function() return data.grow == "CUSTOM" end,
|
||||
disabled = function() return not data.useAnchorPerUnit end
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user