diff --git a/static/index.js b/static/index.js index ec0f9d8..1a64994 100755 --- a/static/index.js +++ b/static/index.js @@ -10,6 +10,7 @@ function removeItem(list, item) { function addItem(list, item) { list.push(item.detail[1].id); + saveCards(); } function showNotification(item, status, msg) { @@ -212,6 +213,7 @@ function addCard(cardName, col) { }); console.log('Adedded item:', cardName); + saveCards(); } setTimeout(() => {