displayName correctly integrated

This commit is contained in:
Domingo Dirutigliano 2025-07-11 10:54:38 +02:00 committed by Aarnav Tale
parent ad469129bc
commit 27b2831f00
13 changed files with 16 additions and 20 deletions

View file

@ -21,7 +21,7 @@ export default function ReassignUser({
<Dialog.Panel
variant={user.headplaneRole === 'owner' ? 'unactionable' : 'normal'}
>
<Dialog.Title>Change role for {user.name}?</Dialog.Title>
<Dialog.Title>Change role for {user.name || user.displayName}?</Dialog.Title>
<Dialog.Text className="mb-6">
Most roles are carried straight from Tailscale. However, keep in mind
that I have not fully implemented permissions yet and some things may