Explorar o código

Recipe filter updates on transaction page when recipes are changed

Lee Morgan %!s(int64=6) %!d(string=hai) anos
pai
achega
9e2dbe1f07
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  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";