Pārlūkot izejas kodu

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

Lee Morgan 5 gadi atpakaļ
vecāks
revīzija
4c0d9d1a22

+ 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){