completionId: cgen-249d21d155df4051999d4a50a99dfa6e
cgen-249d21d155df4051999d4a50a99dfa6e
This commit is contained in:
parent
2d911ba001
commit
bec0c04d5d
1 changed files with 3 additions and 5 deletions
|
|
@ -345,15 +345,13 @@ export default function AdminStaffDirectory() {
|
||||||
</Card>
|
</Card>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : teamMembers.length > 0 ? (
|
||||||
<Card className="text-center py-8">
|
<Card className="text-center py-8">
|
||||||
<p className="text-muted-foreground">
|
<p className="text-muted-foreground">
|
||||||
{teamMembers.length === 0
|
No team members match your search
|
||||||
? "No staff members yet. Create one to get started."
|
|
||||||
: "No team members match your search"}
|
|
||||||
</p>
|
</p>
|
||||||
</Card>
|
</Card>
|
||||||
)}
|
) : null}
|
||||||
|
|
||||||
{/* Edit Dialog */}
|
{/* Edit Dialog */}
|
||||||
<Dialog open={isEditDialogOpen} onOpenChange={setIsEditDialogOpen}>
|
<Dialog open={isEditDialogOpen} onOpenChange={setIsEditDialogOpen}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue