mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Hide empty avatar
This commit is contained in:
parent
5846637747
commit
f0a3cbada7
@ -57,6 +57,7 @@ export function HeaderView({
|
|||||||
}, [item])
|
}, [item])
|
||||||
|
|
||||||
const avatar =
|
const avatar =
|
||||||
|
item.image &&
|
||||||
appState.assetsApi.url + item.image + `${big ? '?width=160&heigth=160' : '?width=80&heigth=80'}`
|
appState.assetsApi.url + item.image + `${big ? '?width=160&heigth=160' : '?width=80&heigth=80'}`
|
||||||
const title = item.name
|
const title = item.name
|
||||||
const subtitle = item.subname
|
const subtitle = item.subname
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user