diff --git a/WeakAurasOptions/RegionOptions/DynamicGroup.lua b/WeakAurasOptions/RegionOptions/DynamicGroup.lua index ccb2ef2..559b3b0 100644 --- a/WeakAurasOptions/RegionOptions/DynamicGroup.lua +++ b/WeakAurasOptions/RegionOptions/DynamicGroup.lua @@ -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 },