fix: always disable browser while it is updating

This commit is contained in:
zhom
2025-07-31 22:40:34 +04:00
parent 5b31cfaf32
commit f4c33ad96e
4 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ interface ProfilesDataTableProps {
onChangeVersion: (profile: BrowserProfile) => void;
onConfigureCamoufox?: (profile: BrowserProfile) => void;
runningProfiles: Set<string>;
isUpdating?: (browser: string) => boolean;
isUpdating: (browser: string) => boolean;
onReloadProxyData?: () => void | Promise<void>;
onDeleteSelectedProfiles?: (profileNames: string[]) => Promise<void>;
onAssignProfilesToGroup?: (profileNames: string[]) => void;
@@ -87,7 +87,7 @@ export function ProfilesDataTable({
onChangeVersion,
onConfigureCamoufox,
runningProfiles,
isUpdating = () => false,
isUpdating,
onDeleteSelectedProfiles: _onDeleteSelectedProfiles,
onAssignProfilesToGroup,
selectedGroupId,