Parcourir la source

Bug fix: analytics page did not update when ingredients added from spreadsheet.

Lee Morgan il y a 5 ans
Parent
commit
4c0d9d1a22
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      views/dashboardPage/bundle.js
  2. 1 0
      views/dashboardPage/js/classes/Merchant.js

+ 1 - 0
views/dashboardPage/bundle.js

@@ -317,6 +317,7 @@ class Merchant{
         }
 
         ingredientsStrand.populateByProperty();
+        analyticsStrand.populateButtons();
     }
 
     removeIngredient(ingredient){

+ 1 - 0
views/dashboardPage/js/classes/Merchant.js

@@ -201,6 +201,7 @@ class Merchant{
         }
 
         ingredientsStrand.populateByProperty();
+        analyticsStrand.populateButtons();
     }
 
     removeIngredient(ingredient){