Browse Source
			
			
			Bugfix/fix loading state of lazy loaded activities table component (#2744)
			
				* Fix loading state
* Update changelog
			
			
				pull/2751/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 
12 additions and 
11 deletions
			 
			
		 
		
			
				- 
					
					
					 
					CHANGELOG.md
				
 
			
				- 
					
					
					 
					libs/ui/src/lib/activities-table-lazy/activities-table-lazy.component.html
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					### Fixed | 
					 | 
					 | 
					### Fixed | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					- Fixed the loading state in the lazy-loaded activities table on the portfolio activities page (experimental) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					- Fixed the edit of activity in the lazy-loaded activities table on the portfolio activities page (experimental) | 
					 | 
					 | 
					- Fixed the edit of activity in the lazy-loaded activities table on the portfolio activities page (experimental) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					## 2.30.0 - 2023-12-12 | 
					 | 
					 | 
					## 2.30.0 - 2023-12-12 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -458,17 +458,6 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  </table> | 
					 | 
					 | 
					  </table> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					</div> | 
					 | 
					 | 
					</div> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					<mat-paginator | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  [length]="totalItems" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  [ngClass]="{ | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    'd-none': (isLoading && totalItems === 0) || totalItems <= pageSize | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  [pageIndex]="pageIndex" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  [pageSize]="pageSize" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  [showFirstLastButtons]="true" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  (page)="onChangePage($event)" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					></mat-paginator> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					<ngx-skeleton-loader | 
					 | 
					 | 
					<ngx-skeleton-loader | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  *ngIf="isLoading" | 
					 | 
					 | 
					  *ngIf="isLoading" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  animation="pulse" | 
					 | 
					 | 
					  animation="pulse" | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -479,6 +468,17 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }" | 
					 | 
					 | 
					  }" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					></ngx-skeleton-loader> | 
					 | 
					 | 
					></ngx-skeleton-loader> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					<mat-paginator | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  [length]="totalItems" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  [ngClass]="{ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    'd-none': (isLoading && !totalItems) || totalItems <= pageSize | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  }" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  [pageIndex]="pageIndex" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  [pageSize]="pageSize" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  [showFirstLastButtons]="true" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  (page)="onChangePage($event)" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					></mat-paginator> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					<div | 
					 | 
					 | 
					<div | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  *ngIf=" | 
					 | 
					 | 
					  *ngIf=" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    dataSource?.data.length === 0 && hasPermissionToCreateActivity && !isLoading | 
					 | 
					 | 
					    dataSource?.data.length === 0 && hasPermissionToCreateActivity && !isLoading | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |