Compare commits

...

1 Commits

Author SHA1 Message Date
youngcw
47c556cb24 fix checkboxes 2026-05-07 14:33:59 -06:00
2 changed files with 19 additions and 12 deletions

View File

@@ -208,6 +208,19 @@ export function BankSyncCheckboxOptions({
<Trans>Reimport deleted transactions</Trans>
</CheckboxOptionWithHelp>
<CheckboxOptionWithHelp
id="form_update_dates"
checked={updateDates}
onChange={() => setUpdateDates(!updateDates)}
disabled={!importTransactions}
helpText={t(
'By enabling this, the transaction date will be overwritten by the one provided by the bank.',
)}
helpMode={helpMode}
>
<Trans>Update Dates</Trans>
</CheckboxOptionWithHelp>
<CheckboxOptionWithHelp
id="form_import_transactions"
checked={!importTransactions}
@@ -219,18 +232,6 @@ export function BankSyncCheckboxOptions({
>
<Trans>Investment Account</Trans>
</CheckboxOptionWithHelp>
<CheckboxOptionWithHelp
id="form_update_dates"
checked={updateDates}
onChange={() => setUpdateDates(!updateDates)}
helpText={t(
'By enabling this, the transaction date will be overwritten by the one provided by the bank.',
)}
helpMode={helpMode}
>
<Trans>Update Dates</Trans>
</CheckboxOptionWithHelp>
</>
);
}

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [youngcw]
---
Fix disabled settings of the bank sync options