fix(GroupMember): check no name
This commit is contained in:
parent
aa5061f7ed
commit
a9b7113173
@ -48,7 +48,7 @@ export const GroupMember: React.FC<Props> = props => {
|
|||||||
nameList={
|
nameList={
|
||||||
props
|
props
|
||||||
.players
|
.players
|
||||||
?.map((e, i) => `(${i + 1}) ${e.name}(${e.score})`)
|
?.map((e, i) => e.name ? `(${i + 1}) ${e.name}(${e.score})` : '-')
|
||||||
?? []
|
?? []
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user