RED-6713: remove stored tenant on logout

This commit is contained in:
Dan Percic 2023-05-24 14:26:20 +03:00
parent 79c3356086
commit e576dc9621
6 changed files with 13 additions and 3 deletions

View File

@ -36,7 +36,9 @@
<iqser-user-button [attr.help-mode-key]="'open_usermenu'" [matMenuTriggerFor]="userMenu" id="userMenu"></iqser-user-button>
<mat-menu #userMenu="matMenu" xPosition="before">
<app-user-menu></app-user-menu>
<ng-template matMenuContent>
<app-user-menu></app-user-menu>
</ng-template>
</mat-menu>
</div>
</div>

View File

@ -9,6 +9,7 @@
</ng-container>
<a (click)="selectTenant()" mat-menu-item>
<mat-icon svgIcon="red:open-in-new"></mat-icon>
<span translate="top-bar.navigation-items.my-account.children.join-another-tenant"> </span>
</a>
</div>

View File

@ -16,5 +16,7 @@
</div>
<mat-menu #tenantsMenu="matMenu" xPosition="before">
<app-tenants-menu></app-tenants-menu>
<ng-template matMenuContent>
<app-tenants-menu></app-tenants-menu>
</ng-template>
</mat-menu>

View File

@ -58,6 +58,7 @@ export class IconsModule {
'needs-work',
'new-tab',
'notification',
'open-in-new',
'padding-left-right',
'padding-top-bottom',
'page',

View File

@ -0,0 +1,4 @@
<svg height="48" viewBox="0 -960 960 960" width="48" xmlns="http://www.w3.org/2000/svg">
<path
d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h279v60H180v600h600v-279h60v279q0 24-18 42t-42 18H180Zm202-219-42-43 398-398H519v-60h321v321h-60v-218L382-339Z" />
</svg>

After

Width:  |  Height:  |  Size: 275 B

@ -1 +1 @@
Subproject commit 5449cacc2bb388b84767f2872893cf094d7a15f4
Subproject commit a06124ab4e50ea4d5304e0070b167956908bd5df