Преглед изворни кода

Recipe filter updates on transaction page when recipes are changed

Lee Morgan пре 6 година
родитељ
комит
9e2dbe1f07
2 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 0
      views/dashboardPage/Merchant.js
  2. 0 1
      views/dashboardPage/transactions.js

+ 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";