Prevent routing to "ExtensionInfo" on extension list action button click

This commit is contained in:
schroda
2025-07-12 18:09:06 +02:00
parent 57e7a806bd
commit 84c6371380

View File

@@ -144,7 +144,10 @@ export function ExtensionCard(props: IProps) {
color: installedState === InstalledState.OBSOLETE ? 'red' : 'inherit',
flexShrink: 0,
}}
onClick={() => handleButtonClick()}
onClick={(e) => {
e.preventDefault();
handleButtonClick();
}}
>
{t(INSTALLED_STATE_TO_TRANSLATION_KEY_MAP[installedState])}
</Button>