bugfix: some minor ui updates for invitation history dialog.
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
||||
type FeaturePermState,
|
||||
} from '../../../components/staff/staff-permission-form';
|
||||
import { Pencil, Trash2, Copy, Check, X } from 'lucide-react';
|
||||
import { DialogCloseButton } from '@/components/ui/common/DialogCloseButton';
|
||||
import { useAuth } from '@/lib/hooks/useAuth';
|
||||
import { staffApi, type StaffMemberDto } from '@/lib/api/staff';
|
||||
import { Button } from '@/components/ui/common/Button';
|
||||
@@ -603,9 +604,12 @@ export default function StaffPage() {
|
||||
aria-modal="true"
|
||||
aria-labelledby="invite-staff-title"
|
||||
>
|
||||
<h2 id="invite-staff-title" className="text-lg font-semibold text-text-primary">
|
||||
Invite team member
|
||||
</h2>
|
||||
<div className="flex items-start justify-between gap-3">
|
||||
<h2 id="invite-staff-title" className="text-lg font-semibold text-text-primary pr-2">
|
||||
Invite team member
|
||||
</h2>
|
||||
<DialogCloseButton onClick={() => setInviteOpen(false)} />
|
||||
</div>
|
||||
<Input
|
||||
label="Email"
|
||||
type="email"
|
||||
@@ -650,7 +654,10 @@ export default function StaffPage() {
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
>
|
||||
<h2 className="text-lg font-semibold text-text-primary">Edit member</h2>
|
||||
<div className="flex items-start justify-between gap-3">
|
||||
<h2 className="text-lg font-semibold text-text-primary pr-2">Edit member</h2>
|
||||
<DialogCloseButton onClick={() => setEditing(null)} />
|
||||
</div>
|
||||
<p className="text-xs text-text-muted">{editing.email}</p>
|
||||
<Input label="Display name" value={editName} onChange={(e) => setEditName(e.target.value)} />
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user