feat(menu): add Privacy Policy and Terms of Service options to the application menu

This commit is contained in:
Anish Sarkar 2026-05-25 22:26:14 +05:30
parent 79378db7c8
commit 74fff64779
2 changed files with 31 additions and 10 deletions

View file

@ -474,8 +474,10 @@ export function AgentPermissionsContent() {
handleConfirmDelete();
}}
disabled={deleteMutation.isPending}
className="relative min-w-[88px]"
>
{deleteMutation.isPending ? "Deleting…" : "Delete"}
<span className={deleteMutation.isPending ? "opacity-0" : ""}>Delete</span>
{deleteMutation.isPending && <Spinner size="sm" className="absolute" />}
</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>