Browse Source
			
			
			Bugfix/fix alignment in menu of impersonation mode (#2284)
			
				* Fix alignment
* Update changelog
			
			
				pull/2289/head
			
			
		 
		
			
				
					
						
						Thomas Kaul
					
					2 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 2 changed files with 
26 additions and 
21 deletions
			 
			
		 
		
			
				- 
					
					
					 
					CHANGELOG.md
				
 
			
				- 
					
					
					 
					apps/client/src/app/components/header/header.component.html
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### Fixed | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- Fixed the alignment in the header navigation | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- Fixed the alignment in the menu of the impersonation mode | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					## 1.304.0 - 2023-08-27 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -129,33 +129,37 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <mat-menu #accountMenu="matMenu" xPosition="before"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <ng-container *ngIf="user?.access?.length > 0"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <button mat-menu-item (click)="impersonateAccount(null)"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <ion-icon | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                *ngIf="user?.access?.length > 0" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                class="mr-2" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                [name]=" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  impersonationId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    ? 'radio-button-off-outline' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    : 'radio-button-on-outline' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                " | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              ></ion-icon> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <span i18n>Me</span> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <span class="align-items-center d-flex"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <ion-icon | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  *ngIf="user?.access?.length > 0" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  class="mr-2" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  [name]=" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    impersonationId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      ? 'radio-button-off-outline' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      : 'radio-button-on-outline' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  " | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                ></ion-icon> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <span i18n>Me</span> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              </span> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </button> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <button | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              *ngFor="let accessItem of user?.access" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              mat-menu-item | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              (click)="impersonateAccount(accessItem.id)" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            > | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <ion-icon | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                class="mr-2" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                name="square-outline" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                [name]=" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  accessItem.id === impersonationId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    ? 'radio-button-on-outline' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    : 'radio-button-off-outline' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                " | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              ></ion-icon> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <span *ngIf="accessItem.alias">{{ accessItem.alias }}</span> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <span *ngIf="!accessItem.alias" i18n>User</span> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <span class="align-items-center d-flex"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <ion-icon | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  class="mr-2" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  name="square-outline" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  [name]=" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    accessItem.id === impersonationId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      ? 'radio-button-on-outline' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                      : 'radio-button-off-outline' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  " | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                ></ion-icon> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <span *ngIf="accessItem.alias">{{ accessItem.alias }}</span> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <span *ngIf="!accessItem.alias" i18n>User</span> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              </span> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </button> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <hr class="m-0" /> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          </ng-container> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |