feat: disabling button when installing

This commit is contained in:
Chubby Granny Chaser
2025-04-06 23:24:47 +01:00
parent 934831eaae
commit cc505acbdc

View File

@@ -236,7 +236,7 @@ export function SettingsGeneral() {
<Button
onClick={handleInstallCommonRedist}
className="settings-general__common-redist-button"
disabled={!canInstallCommonRedist}
disabled={!canInstallCommonRedist || installingCommonRedist}
>
<DesktopDownloadIcon />
{installingCommonRedist