mirror of
https://github.com/tale/headplane.git
synced 2026-08-30 16:59:56 +00:00
fix display name
This commit is contained in:
committed by
Aarnav Tale
parent
f7547a4c62
commit
ad469129bc
@@ -34,7 +34,7 @@ export default function Move({ machine, users, isOpen, setIsOpen }: MoveProps) {
|
||||
}}
|
||||
>
|
||||
{users.map((user) => (
|
||||
<Select.Item key={user.id}>{user.name}</Select.Item>
|
||||
<Select.Item key={user.id}>{user.name || user.email || user.id}</Select.Item>
|
||||
))}
|
||||
</Select>
|
||||
</Dialog.Panel>
|
||||
|
||||
@@ -46,7 +46,7 @@ export default function NewMachine(data: NewMachineProps) {
|
||||
placeholder="Select a user"
|
||||
>
|
||||
{data.users.map((user) => (
|
||||
<Select.Item key={user.id}>{user.name}</Select.Item>
|
||||
<Select.Item key={user.id}>{user.name || user.email || user.id}</Select.Item>
|
||||
))}
|
||||
</Select>
|
||||
</Dialog.Panel>
|
||||
|
||||
Reference in New Issue
Block a user