bugfix
This commit is contained in:
		
							parent
							
								
									9a4d410f66
								
							
						
					
					
						commit
						ceaade29a6
					
				@ -49,13 +49,13 @@ export class DocumentListComponent implements OnInit {
 | 
				
			|||||||
      this.displayMode = localStorage.getItem('document-list:displayMode')
 | 
					      this.displayMode = localStorage.getItem('document-list:displayMode')
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    this.route.paramMap.subscribe(params => {
 | 
					    this.route.paramMap.subscribe(params => {
 | 
				
			||||||
 | 
					      this.filterRules = this.list.filterRules
 | 
				
			||||||
      if (params.has('id')) {
 | 
					      if (params.has('id')) {
 | 
				
			||||||
        this.list.savedView = this.savedViewConfigService.getConfig(params.get('id'))
 | 
					        this.list.savedView = this.savedViewConfigService.getConfig(params.get('id'))
 | 
				
			||||||
      } else {
 | 
					      } else {
 | 
				
			||||||
        this.list.savedView = null
 | 
					        this.list.savedView = null
 | 
				
			||||||
        this.showFilter = this.filterRules.length > 0
 | 
					        this.showFilter = this.filterRules.length > 0
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      this.filterRules = this.list.filterRules
 | 
					 | 
				
			||||||
      this.list.clear()
 | 
					      this.list.clear()
 | 
				
			||||||
      this.list.reload()
 | 
					      this.list.reload()
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user