Explorar o código

Remove quantity setter from MerchantIngredient class.

Lee Morgan %!s(int64=5) %!d(string=hai) anos
pai
achega
35db0a4d84

+ 0 - 4
views/dashboardPage/bundle.js

@@ -168,10 +168,6 @@ class MerchantIngredient{
         }
         }
     }
     }
 
 
-    set quantity(quantity){
-        this._quantity = quantity;
-    }
-
     updateQuantity(quantity){
     updateQuantity(quantity){
         this._quantity += this.convertToBase(quantity);
         this._quantity += this.convertToBase(quantity);
     }
     }

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

@@ -41,10 +41,6 @@ class MerchantIngredient{
         }
         }
     }
     }
 
 
-    set quantity(quantity){
-        this._quantity = quantity;
-    }
-
     updateQuantity(quantity){
     updateQuantity(quantity){
         this._quantity += this.convertToBase(quantity);
         this._quantity += this.convertToBase(quantity);
     }
     }