Add settings page to manage hidden accounts and deleted budgets; implement data loading from the database.

This commit is contained in:
2025-07-08 21:45:01 -04:00
parent aaa675b6ee
commit 592d21592b
5 changed files with 67 additions and 4 deletions

View File

@ -1,12 +1,12 @@
<script>
let { data } = $props();
console.log(data);
let trans = $state(data.transactions);
let trans = $derived(data.transactions);
let notes = $state('');
let currentTransaction = $state(null);
let account = $state(data.accounts.find((a) => a.id == data.slug) || {});
let hide = $state(account?.hide || false);
let inTotal = $state(account?.in_total || false);
let account = $derived(data.accounts.find((a) => a.id == data.slug) || {});
let hide = $derived(account?.hide || false);
let inTotal = $derived(account?.in_total || false);
function editNotes(transaction) {
my_modal_3.showModal();