update: user avatar on admin

This commit is contained in:
Jean-Baptiste Pasquier
2019-10-29 14:59:57 +01:00
parent a5a63bd162
commit 3c72a4fee0
4 changed files with 21 additions and 59 deletions

View File

@ -1,2 +1,2 @@
sib-widget(name='hd-user-avatar')
template ${value ? `<img src="${value}" style="max-width:100%; max-height: 100%;" />` : `<object type="image/svg+xml" data="/images/alien.svg"></object>`}
template ${await value ? `<img src="${await value}" style="max-width:100%; max-height: 100%;" />` : `<object type="image/svg+xml" data="/images/alien.svg"></object>`}