mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	@@ -94,10 +94,11 @@ export class DocumentDetailComponent implements OnInit, OnDestroy, DirtyComponen
 | 
				
			|||||||
    private toastService: ToastService,
 | 
					    private toastService: ToastService,
 | 
				
			||||||
    private settings: SettingsService) {
 | 
					    private settings: SettingsService) {
 | 
				
			||||||
      this.titleSubject.pipe(
 | 
					      this.titleSubject.pipe(
 | 
				
			||||||
        debounceTime(200),
 | 
					        debounceTime(1000),
 | 
				
			||||||
        distinctUntilChanged(),
 | 
					        distinctUntilChanged(),
 | 
				
			||||||
        takeUntil(this.unsubscribeNotifier)
 | 
					        takeUntil(this.unsubscribeNotifier)
 | 
				
			||||||
      ).subscribe(titleValue => {
 | 
					      ).subscribe(titleValue => {
 | 
				
			||||||
 | 
					        this.title = titleValue
 | 
				
			||||||
        this.documentForm.patchValue({'title': titleValue})
 | 
					        this.documentForm.patchValue({'title': titleValue})
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user