Просмотр исходного кода

Recipe filter updates on transaction page when recipes are changed

Lee Morgan 6 лет назад
Родитель
Сommit
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();
         recipeBookStrandObj.populateRecipes();
         closeSidebar();
         closeSidebar();
     }
     }

+ 0 - 1
views/dashboardPage/transactions.js

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