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.
This commit is contained in:
@@ -175,7 +175,7 @@ const SourceCard = (source: SourceIdInfo & SourceLanguageInfo & SourceConfigurab
|
||||
</IconButton>
|
||||
</CustomTooltip>
|
||||
)}
|
||||
<Switch checked={isEnabled} onChange={(_, checked) => updateSetting('isEnabled', checked)} />
|
||||
<Switch checked={isEnabled} />
|
||||
</ListCardContent>
|
||||
</CardActionArea>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user