Adds condition to skip link to transaction form if it's not editable #1394

Merged
nicogaldamez merged 1 commits from 1386-no-link-to-transaction-form-if-not-editable into main 2024-10-31 20:57:06 +08:00
nicogaldamez commented 2024-10-31 00:10:28 +08:00 (Migrated from github.com)

Why?

Fixes https://github.com/maybe-finance/maybe/issues/1386

On the home page there is a list of recent transactions. None of these transactions have a checkbox. If a transaction is edited it then gets a checkbox, which doesn't have any options once selected

What?

  • I display the title of the transaction as a link only if it's editable.

More discussion in https://github.com/maybe-finance/maybe/pull/1391

What should we test?

  • When editing a transaction from the recent transactions list, the updated row should no longer have a checkbox.
  • When editing a transaction from the transactions list, the updated row should still have a checkbox.
### Why? Fixes https://github.com/maybe-finance/maybe/issues/1386 On the home page there is a list of recent transactions. None of these transactions have a checkbox. If a transaction is edited it then gets a checkbox, which doesn't have any options once selected ### What? * I display the title of the transaction as a link only if it's editable. More discussion in https://github.com/maybe-finance/maybe/pull/1391 ### What should we test? * When editing a transaction from the recent transactions list, the updated row should no longer have a checkbox. * When editing a transaction from the transactions list, the updated row should still have a checkbox.
Sign in to join this conversation.