mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-05 11:39:29 -05:00
Fix: another doc link fix (#9700)
This commit is contained in:
parent
df5af5c8ad
commit
62f46b706e
@ -94,8 +94,8 @@ export class DocumentLinkComponent
|
|||||||
.pipe(takeUntil(this.unsubscribeNotifier))
|
.pipe(takeUntil(this.unsubscribeNotifier))
|
||||||
.subscribe((documentResults) => {
|
.subscribe((documentResults) => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.selectedDocuments = documentIDs.map((id) =>
|
this.selectedDocuments = documentIDs.map(
|
||||||
documentResults.results.find((d) => d.id === id)
|
(id) => documentResults.results.find((d) => d.id === id) ?? {}
|
||||||
)
|
)
|
||||||
super.writeValue(documentIDs)
|
super.writeValue(documentIDs)
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user