Skip to content

Commit

Permalink
Small code tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
CruelDrool committed Oct 11, 2023
1 parent 45af14e commit 32d2a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -869,9 +869,9 @@ function addon:csv(data)
local header = self.db.profile.csv.header
local columns = self.db.profile.columns
local output = ""
local headerData = {}

if header then
local headerData = {}
for _, v in ipairs(columns) do
if v.enabled then
table.insert(headerData, v.name)
Expand Down

0 comments on commit 32d2a78

Please sign in to comment.