mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
jesus christ this was too easy (thank you @Bunny67)
This commit is contained in:
@@ -14,6 +14,7 @@ function DT:PanelLayoutOptions()
|
|||||||
local order;
|
local order;
|
||||||
local table = E.Options.args.datatexts.args.panels.args;
|
local table = E.Options.args.datatexts.args.panels.args;
|
||||||
for pointLoc, tab in pairs(P.datatexts.panels) do
|
for pointLoc, tab in pairs(P.datatexts.panels) do
|
||||||
|
local pointLoc = pointLoc -- add this
|
||||||
if(not _G[pointLoc]) then table[pointLoc] = nil; return; end
|
if(not _G[pointLoc]) then table[pointLoc] = nil; return; end
|
||||||
if(type(tab) == "table") then
|
if(type(tab) == "table") then
|
||||||
if find(pointLoc, "Chat") then
|
if find(pointLoc, "Chat") then
|
||||||
|
|||||||
Reference in New Issue
Block a user