From d0dd4b13af93296dfd66240fe361c076baf2c87a Mon Sep 17 00:00:00 2001 From: Dimitri Gigot Date: Thu, 26 Mar 2020 19:35:17 +0000 Subject: [PATCH] save on remove item --- apps/groceries/groceries.html | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/groceries/groceries.html b/apps/groceries/groceries.html index 0f29817ab..79acb4b59 100644 --- a/apps/groceries/groceries.html +++ b/apps/groceries/groceries.html @@ -87,6 +87,7 @@ function removeProduct(index){ products = products.filter((p,i) => i!==index) + save() renderProducts() }