Skip to content

Commit f7c1ffc

Browse files
committed
fix(admin): show password reset progress while the request is in flight
1 parent a1e9b22 commit f7c1ffc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/settings/components/admin

apps/sim/app/workspace/[workspaceId]/settings/components/admin/admin.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,12 @@ export function Admin() {
410410
<p className='text-[var(--text-error)] text-small'>{provisionWarning}</p>
411411
)}
412412

413+
{sendPasswordReset.isPending && sendPasswordReset.variables && (
414+
<p className='text-[var(--text-secondary)] text-small'>
415+
Sending a password reset email to {sendPasswordReset.variables.email}...
416+
</p>
417+
)}
418+
413419
{searchQuery.length > 0 && usersData ? (
414420
<>
415421
<div className='flex flex-col gap-0.5'>

0 commit comments

Comments
 (0)