<div id="tenants-menu-items">
    <ng-container *ngFor="let item of storedTenants; trackBy: trackBy">
        <div class="label">{{ item.key }}</div>

        <a
            (click)="selectTenant(stored.tenantId, stored.email)"
            *ngFor="let stored of item.value"
            [id]="stored.tenantId + stored.email"
            mat-menu-item
        >
            {{ stored.email }}
        </a>
        <mat-divider class="pb-3 pt-3"></mat-divider>
    </ng-container>

    <a (click)="selectTenant()" mat-menu-item>
        <span translate="top-bar.navigation-items.my-account.children.join-another-tenant"> </span>
    </a>
</div>
