From 57e7a806bddb4cea19eea24b331145311a145c22 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sat, 12 Jul 2025 18:02:50 +0200 Subject: [PATCH] Remove switch click handling in "ExtensionInfo" "SourceCard" The click handling caused the mutation to be executed twice due to the click handling on the CardActionArea itself. This then caused issues with the set metadata, because the server doesn't prevent storing the same "sourceId" and "meta key" combination twice. --- src/modules/extension/screens/ExtensionInfo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/extension/screens/ExtensionInfo.tsx b/src/modules/extension/screens/ExtensionInfo.tsx index cecb486d..5b8210d2 100644 --- a/src/modules/extension/screens/ExtensionInfo.tsx +++ b/src/modules/extension/screens/ExtensionInfo.tsx @@ -175,7 +175,7 @@ const SourceCard = (source: SourceIdInfo & SourceLanguageInfo & SourceConfigurab )} - updateSetting('isEnabled', checked)} /> +