Keep manual transaction success visible
This commit is contained in:
parent
fbd1c2cc4a
commit
22e162ae26
@ -397,10 +397,10 @@ export default function TransactionsPage() {
|
|||||||
if (res.error) { setStatus(res.error.message ?? "Unable to save transaction."); return; }
|
if (res.error) { setStatus(res.error.message ?? "Unable to save transaction."); return; }
|
||||||
setManualForm((prev) => ({ ...prev, description: "", amount: "", category: "", note: "", attribution: "mine", splitMode: "none", splitMinePercent: "50", splitYoursPercent: "50" }));
|
setManualForm((prev) => ({ ...prev, description: "", amount: "", category: "", note: "", attribution: "mine", splitMode: "none", splitMinePercent: "50", splitYoursPercent: "50" }));
|
||||||
setShowManual(false);
|
setShowManual(false);
|
||||||
setStatus("Manual transaction saved.");
|
|
||||||
await load();
|
await load();
|
||||||
await loadSummary();
|
await loadSummary();
|
||||||
await loadInsights();
|
await loadInsights();
|
||||||
|
setStatus("Manual transaction saved.");
|
||||||
};
|
};
|
||||||
|
|
||||||
const startEdit = (row: TransactionRow) => {
|
const startEdit = (row: TransactionRow) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user