Add settings page to manage hidden accounts and deleted budgets; implement data loading from the database.
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user