Переглянути джерело

Recipe filter updates on transaction page when recipes are changed

Lee Morgan 6 роки тому
батько
коміт
9e2dbe1f07

+ 1 - 0
views/dashboardPage/Merchant.js

@@ -260,6 +260,7 @@ class Merchant{
             }
         }
 
+        transactionsStrandObj.isPopulated = false;
         recipeBookStrandObj.populateRecipes();
         closeSidebar();
     }

+ 0 - 1
views/dashboardPage/transactions.js

@@ -13,7 +13,6 @@ window.transactionsStrandObj = {
             document.getElementById("transFilDate1").valueAsDate = monthAgo;
             document.getElementById("transFilDate2").valueAsDate = now;
 
-
             dateDropdown.style.display = "none";
             recipeDropdown.style.display = "none";