Revert "[ACA-2506] Header - Button does not have a role (#1229)"

This reverts commit 322cd27111.
This commit is contained in:
pionnegru
2019-10-21 11:06:53 +03:00
parent 0d603cc5b5
commit d7d876187e

View File

@@ -1,12 +1,8 @@
<div title="{{ (profile$ | async)?.id }}">
<div class="current-user__full-name">{{ (profile$ | async)?.userName }}</div>
<button
mat-icon-button
class="current-user__avatar am-avatar"
[matMenuTriggerFor]="userMenu"
>
<div class="current-user__avatar am-avatar" [matMenuTriggerFor]="userMenu">
{{ (profile$ | async)?.initials }}
</button>
</div>
</div>
<mat-menu #userMenu="matMenu" [overlapTrigger]="false">