This commit is contained in:
seb
2026-10-18 18:38:38 +02:00
parent 9cb93bddeb
commit c15fa0a53e
4 changed files with 18 additions and 5 deletions

View File

@@ -62,11 +62,10 @@ class ManifestForm extends PureComponent {
const initialDate =
initialDoc?.date ||
(props.mode === 'create' && props.kind === 'quote' ? todayInputValue() : '');
(props.mode === 'create' ? todayInputValue() : '');
if (
props.mode === 'create' &&
props.kind === 'quote' &&
this.draftAutomat &&
!this.draftAutomat.state.date
) {