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

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

Lee Morgan 5 лет назад
Родитель
Сommit
9e143bc9c6
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      views/dashboardPage/bundle.js
  2. 1 1
      views/dashboardPage/js/strands/analytics.js

+ 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;
         }