Check for existing filter
N6REJ opened this issue ยท 1 comments
How can I test to see if there is an existing filter?
if I do
-- Check for existing filter
local function CheckFilter(FilterName)
for i, filter in AdiBags:IterateFilters() do
if filter.filterName == FilterName then
return false
end
end
end
it doesn't work, nor if i do
print(filter.filterName)
do I see all the filters
here's my current branch and the compare is never firing.
https://github.com/N6REJ/AdiBags_Shadowlands_Cooking/tree/multiDB