mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Update entries.component.ts
This commit is contained in:
parent
6d4f102696
commit
4f7cbab912
@ -29,6 +29,9 @@ export class EntriesComponent extends AbstractInputComponent<object> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
writeValue(newValue: any): void {
|
writeValue(newValue: any): void {
|
||||||
|
if (!newValue) {
|
||||||
|
newValue = {}
|
||||||
|
}
|
||||||
this.entries = Object.entries(newValue)
|
this.entries = Object.entries(newValue)
|
||||||
this.value = newValue
|
this.value = newValue
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user