created cart icon with number of items notification - it's still buggy
This commit is contained in:
@@ -28,6 +28,13 @@ var CartActions = {
|
||||
AppDispatcher.handleAction({
|
||||
actionType: CartConstants.CART_DATA_LOADED
|
||||
});
|
||||
},
|
||||
|
||||
saveCartStateForItem: function(itemId) {
|
||||
AppDispatcher.handleAction({
|
||||
actionType: CartConstants.SAVE_CART_STATE_FOR_ITEM,
|
||||
itemId: itemId
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user