mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-14 04:04:23 +00:00
Clear variants when order cycle changed, not when products are initially loaded
This commit is contained in:
@@ -12,8 +12,6 @@ Darkswarm.factory 'Products', ($resource, Enterprises, Dereferencer, Taxons, Pro
|
||||
@loading = true
|
||||
@products = []
|
||||
$resource("/shop/products").query (products)=>
|
||||
Variants.clear()
|
||||
|
||||
@products = products
|
||||
|
||||
@extend()
|
||||
|
||||
Reference in New Issue
Block a user