mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Fix: handle created change with api version increment, use created only on frontend, deprecate created_date (#9962)
This commit is contained in:
parent
fae4116504
commit
55917fcabe
13 changed files with 74 additions and 18 deletions
|
|
@ -208,7 +208,7 @@ export class DocumentDetailComponent
|
|||
documentForm: FormGroup = new FormGroup({
|
||||
title: new FormControl(''),
|
||||
content: new FormControl(''),
|
||||
created_date: new FormControl(),
|
||||
created: new FormControl(),
|
||||
correspondent: new FormControl(),
|
||||
document_type: new FormControl(),
|
||||
storage_path: new FormControl(),
|
||||
|
|
@ -490,7 +490,7 @@ export class DocumentDetailComponent
|
|||
this.store = new BehaviorSubject({
|
||||
title: doc.title,
|
||||
content: doc.content,
|
||||
created_date: doc.created_date,
|
||||
created: doc.created,
|
||||
correspondent: doc.correspondent,
|
||||
document_type: doc.document_type,
|
||||
storage_path: doc.storage_path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue