- only show remove photo on user avatar when there is an avatar

This commit is contained in:
Paul Seal
2019-11-07 16:00:42 +00:00
committed by Kenn Jacobsen
parent b8387ac4e5
commit 6f90bc2990

View File

@@ -207,7 +207,7 @@
</a>
<a href=""
ng-if="model.user.avatars"
ng-if="model.user.avatars.length > 0"
class="umb-user-group-preview__action umb-user-group-preview__action--red"
ng-click="model.clearAvatar()"
prevent-default>