diff --git a/web/src/views/settings/ProfilesView.tsx b/web/src/views/settings/ProfilesView.tsx index 2f9eb2694..eafc9903f 100644 --- a/web/src/views/settings/ProfilesView.tsx +++ b/web/src/views/settings/ProfilesView.tsx @@ -510,12 +510,17 @@ export default function ProfilesView({ variant="ghost" size="icon" className="size-7 text-muted-foreground hover:text-destructive" + disabled={deleting && deleteProfile === profile} onClick={(e) => { e.stopPropagation(); setDeleteProfile(profile); }} > - + {deleting && deleteProfile === profile ? ( + + ) : ( + + )} @@ -650,7 +655,10 @@ export default function ProfilesView({ { + e.preventDefault(); + handleDeleteProfile(); + }} disabled={deleting} > {deleting && }