From d9cd270ff48b535c40ba28fba1d054d804bd67e3 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 21 Sep 2025 15:51:41 +0800 Subject: [PATCH] don't save draft when creating transactions through AI image recognition in mobile version --- src/views/mobile/HomePage.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/mobile/HomePage.vue b/src/views/mobile/HomePage.vue index 25a4814c..c12ddf11 100644 --- a/src/views/mobile/HomePage.vue +++ b/src/views/mobile/HomePage.vue @@ -348,6 +348,8 @@ function onReceiptRecognitionChanged(result: RecognizedReceiptImageResponse): vo params.push(`comment=${encodeURIComponent(result.comment)}`); } + params.push(`noTransactionDraft=true`); + props.f7router.navigate(`/transaction/add?${params.join('&')}`); }