<button class="user-info" ngbDropdownToggle *ngIf="getIsAuth()">{{getUserFullname()}}</button>
<div ngbDropdownMenu *ngIf="getIsAuth()">
    <a routerLink="/mydata" class="data">Мои данные</a>
    <button ngbDropdownItem class="exit" (click)="logout()">Выйти</button>
</div>