mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	bugfix dismissing wrong status messages
This commit is contained in:
		@@ -169,7 +169,12 @@ export class ConsumerStatusService {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  dismiss(status: FileStatus) {
 | 
			
		||||
    let index = this.consumerStatus.findIndex(s => s.filename == status.filename)
 | 
			
		||||
    let index
 | 
			
		||||
    if (status.taskId != null) {
 | 
			
		||||
      index = this.consumerStatus.findIndex(s => s.taskId == status.taskId)
 | 
			
		||||
    } else {
 | 
			
		||||
      index = this.consumerStatus.findIndex(s => s.filename == status.filename)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (index > -1) {
 | 
			
		||||
      this.consumerStatus.splice(index, 1)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user