mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-25 14:34:46 +00:00
fix: Prevent rendering of empty phone number in UserList
This commit is contained in:
@@ -216,7 +216,7 @@ export default {
|
||||
width: '120px',
|
||||
formatter: (row) => {
|
||||
const phoneObj = row.phone
|
||||
return <div>{phoneObj?.code}{phoneObj?.phone}</div>
|
||||
return phoneObj?.phone ? <div>{phoneObj?.code}{phoneObj?.phone}</div> : ''
|
||||
}
|
||||
},
|
||||
login_blocked: {
|
||||
|
||||
Reference in New Issue
Block a user