Commit 1c4f9bb5 authored by pborate's avatar pborate

Updated cart-list.ts.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175955 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 193fd2cd
......@@ -18,7 +18,7 @@ export default function (state = initialState, action: Action): CartListState {
}
case CartActions.DELETE_CART_ITEM_SUCCESS: {
return state.filter(item => {
return item.itemCode !== action.payload.itemCode;
return item.itemCode.trim() !== action.payload.itemCode.trim();
});
}
case CartActions.UPDATE_CART_SUCCESS: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment