diff --git a/yoseph/main.js b/yoseph/main.js index 7df39fc..3fc0b75 100644 --- a/yoseph/main.js +++ b/yoseph/main.js @@ -47,7 +47,7 @@ document.querySelector(`#savings-expense-enter`).addEventListener(`click`, () => const savingsHistoryItem = { description: document.querySelector(`#savings-expense-description`).value, amount: SavingsSubtract, - date: Date.now(), // new Date(item.date) + date: Date.now(), account: "savings" } History.push(savingsHistoryItem) @@ -97,8 +97,19 @@ document.querySelector(`#view-history`).addEventListener(`click`, () => { History .map((info) => { return ` -