mirror of
https://github.com/ckaczor/TuskarrRestockTracker.git
synced 2026-02-07 01:35:36 -05:00
Fix config command and update TOC
This commit is contained in:
@@ -405,7 +405,12 @@ function TuskarrRestockTracker:ChatCommand(input)
|
||||
command = command:lower()
|
||||
|
||||
if command == L["config"]:lower() then
|
||||
InterfaceOptionsFrame_OpenToCategory(private.optionsFrame)
|
||||
if Settings then
|
||||
Settings.OpenToCategory("Tuskarr Restock Tracker")
|
||||
elseif InterfaceOptionsFrame_OpenToCategory then
|
||||
InterfaceOptionsFrame_OpenToCategory("Tuskarr Restock Tracker")
|
||||
InterfaceOptionsFrame_OpenToCategory("Tuskarr Restock Tracker")
|
||||
end
|
||||
elseif command == L["minimap"]:lower() then
|
||||
private.db.global.minimap_icon.hide = not private.db.global.minimap_icon.hide
|
||||
TuskarrRestockTracker:UpdateMinimapConfig()
|
||||
|
||||
Reference in New Issue
Block a user