Sfoglia il codice sorgente

Create basic algorithm for predicting one day's usage of each ingredient.

Lee Morgan 5 anni fa
parent
commit
9e143bc9c6

+ 1 - 1
views/dashboardPage/bundle.js

@@ -3224,7 +3224,7 @@ let analytics = {
             });
     },
 
-    displayIngredient: function(ingredient){
+    displayIngredient: function(){
         if(this.ingredient === undefined  || this.transactionsByDate.length === 0){
             return;
         }

+ 1 - 1
views/dashboardPage/js/strands/analytics.js

@@ -112,7 +112,7 @@ let analytics = {
             });
     },
 
-    displayIngredient: function(ingredient){
+    displayIngredient: function(){
         if(this.ingredient === undefined  || this.transactionsByDate.length === 0){
             return;
         }