Implement avatar upload and removal (not persistent access sessions)

This commit is contained in:
Jonas Herzig 2018-09-24 21:05:22 +02:00
parent 2046bdf03a
commit d3cf7f0f22
2 changed files with 20 additions and 4 deletions

View file

@ -223,11 +223,13 @@
View Avatar
</li>
<!-- ko if: $data === $root.thisUser() -->
<li data-bind="css: { disabled: !canChangeAvatar() }, visible: true">
<li data-bind="css: { disabled: !canChangeAvatar() }, visible: true,
click: changeAvatar">
Change Avatar
</li>
<!-- /ko -->
<li data-bind="css: { disabled: !canChangeAvatar() }, visible: texture">
<li data-bind="css: { disabled: !canChangeAvatar() }, visible: texture,
click: removeAvatar">
Reset Avatar
</li>