...
|
...
|
@@ -231,8 +231,8 @@ export function clearHistory(selectedProducts) { |
|
|
let {productList, selectedProductList} = browse;
|
|
|
console.log('000')
|
|
|
dispatch(deleteSelectedProducts(selectedProducts));
|
|
|
// dispatch(historyClearSuccess({productList, selectedProductList}));
|
|
|
ReactNative.NativeModules.YH_RecorderHelper.setRightClearButtonVisiblity(false);
|
|
|
let show = productList.size > 0;
|
|
|
ReactNative.NativeModules.YH_RecorderHelper.setRightClearButtonVisiblity(show);
|
|
|
})
|
|
|
.catch(error => {
|
|
|
dispatch(historyClearFailure(error));
|
...
|
...
|
|