Fix details report, GetChannelList does not return disabled# in 3.3.5
This commit is contained in:
@@ -309,7 +309,7 @@ local createDropdown = function(thisFrame)
|
||||
local channels = {GetChannelList()} --coloca o resultado em uma tabela .. {id1, canal1, id2, canal2}
|
||||
--09/august/2018: GetChannelList passed to return 3 values for each channel instead of 2
|
||||
|
||||
for i = 1, #channels, 3 do --total de canais
|
||||
for i = 1, #channels, 2 do --total de canais
|
||||
reportChannelsTable[#reportChannelsTable + 1] = {iconsize = iconsize, value = "CHANNEL|" .. channels[i+1], label = channels[i] .. ". " .. channels[i+1], onclick = onClick, icon = [[Interface\FriendsFrame\UI-Toast-ToastIcons]], texcoord = {0.3046875, 0.4453125, 0.109375, 0.390625}, iconcolor = {149/255, 112/255, 112/255}}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user