Closed couzic closed 6 years ago
.computeFrom( _ => ({ selectedCategoryProduct: _.focusPath( 'productSelect', 'selectedCategoryProduct', ), }), ({ selectedCategoryProduct }) => ({ statsProductOptions: selectedCategoryProduct === undefined ? undefined : selectedCategoryProduct.products.map(toOption), }), )
Problem: statsProductOptions never get undefined
Wrong bug interpretation
Problem: statsProductOptions never get undefined