mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
don't save draft when creating transactions through AI image recognition in mobile version
This commit is contained in:
@@ -348,6 +348,8 @@ function onReceiptRecognitionChanged(result: RecognizedReceiptImageResponse): vo
|
|||||||
params.push(`comment=${encodeURIComponent(result.comment)}`);
|
params.push(`comment=${encodeURIComponent(result.comment)}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
params.push(`noTransactionDraft=true`);
|
||||||
|
|
||||||
props.f7router.navigate(`/transaction/add?${params.join('&')}`);
|
props.f7router.navigate(`/transaction/add?${params.join('&')}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user