Fix: handle created change with api version increment, use created only on frontend, deprecate created_date (#9962)

This commit is contained in:
shamoon
2025-05-19 09:38:01 -07:00
committed by GitHub
parent fae4116504
commit 55917fcabe
13 changed files with 74 additions and 18 deletions

View File

@@ -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,