From bc516c21fbe165ae27a95b0d77df9eee6f811daa Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 2 Oct 2025 03:34:34 -0400 Subject: [PATCH 1/2] Delete temp config if config deleted --- src/components/options/CategoryChooserComponent.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/options/CategoryChooserComponent.tsx b/src/components/options/CategoryChooserComponent.tsx index 23cc4dad87..f91157cc14 100644 --- a/src/components/options/CategoryChooserComponent.tsx +++ b/src/components/options/CategoryChooserComponent.tsx @@ -145,6 +145,10 @@ export function CategoryChooserComponent() { } forceUpdateConfigurationIDs(); + if (Config.local.skipProfileTemp && Config.local.skipProfileTemp.configID === selectedConfigurationID) { + Config.local.skipProfileTemp = null; + } + setConfigurations(Config.local!.skipProfiles); const newID = Object.keys(Config.local!.skipProfiles)[0] as ConfigurationID; setSelectedConfigurationID(newID); From 26f9a85b5b1f801f1dc38da30c35683ca11e1d7b Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 2 Oct 2025 03:41:42 -0400 Subject: [PATCH 2/2] Hide settings not affected by skip profile when non-default profile is selected --- public/options/options.html | 6 +++--- src/components/options/CategoryChooserComponent.tsx | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/public/options/options.html b/public/options/options.html index bd1a7c90c9..e5333f8996 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -80,9 +80,9 @@ -
+
-
+
-
+