mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
parent
ca8d42bf05
commit
d4357339f3
@ -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})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user