Back to Abp

Current User.Component

npm/ng-packs/packages/theme-basic/src/lib/components/nav-items/current-user.component.html

10.3.0486 B
Original Source

@if ((currentUser$ | async)?.isAuthenticated) {

@if ((selectedTenant$ | async)?.name; as tenantName) { {{ tenantName }}\ } {{ (currentUser$ | async)?.userName }} @for (item of userMenu.items$ | async; track $index) { - @if (item.component) { } @else { @if (item.html) {

} @else { @if (item.textTemplate) { @if (item.textTemplate.icon) { } {{ item.textTemplate.text | abpLocalization }} } } } }

} @else { {{ 'AbpAccount::Login' | abpLocalization }} }