Fix config command and update TOC

This commit is contained in:
2025-11-25 12:07:15 -05:00
parent 01d3cc5ab6
commit 35fa52c2a1
2 changed files with 8 additions and 3 deletions

View File

@@ -405,7 +405,12 @@ function TuskarrRestockTracker:ChatCommand(input)
command = command:lower() command = command:lower()
if command == L["config"]:lower() then 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 elseif command == L["minimap"]:lower() then
private.db.global.minimap_icon.hide = not private.db.global.minimap_icon.hide private.db.global.minimap_icon.hide = not private.db.global.minimap_icon.hide
TuskarrRestockTracker:UpdateMinimapConfig() TuskarrRestockTracker:UpdateMinimapConfig()

View File

@@ -1,6 +1,6 @@
## Interface: 100205 ## Interface: 110205
## Title: Tuskarr Restock Tracker ## Title: Tuskarr Restock Tracker
## Version: 10.0.9 ## Version: 11.0.0
## Notes: Helps with the weekly Iskaara Tuskarr fishing quests ("Catch and Release") by keeping track of what quests have been completed and what fish are required. ## Notes: Helps with the weekly Iskaara Tuskarr fishing quests ("Catch and Release") by keeping track of what quests have been completed and what fish are required.
## Author: Amanoa ## Author: Amanoa
## SavedVariables: TuskarrRestockTrackerDB ## SavedVariables: TuskarrRestockTrackerDB