Restore “Page Count” field in book edit form
This commit is contained in:
committed by
Aditya Chandel
parent
451d0b6e50
commit
6b75ea7d95
+6
-4
@@ -153,10 +153,12 @@ export class MetadataPickerComponent implements OnInit {
|
||||
takeUntilDestroyed(this.destroyRef)
|
||||
).subscribe((metadata) => {
|
||||
|
||||
this.metadataForm.reset();
|
||||
this.copiedFields = {};
|
||||
this.savedFields = {};
|
||||
this.hoveredFields = {};
|
||||
if (this.reviewMode) {
|
||||
this.metadataForm.reset();
|
||||
this.copiedFields = {};
|
||||
this.savedFields = {};
|
||||
this.hoveredFields = {};
|
||||
}
|
||||
|
||||
if (metadata) {
|
||||
this.originalMetadata = metadata;
|
||||
|
||||
Reference in New Issue
Block a user