소스 검색

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