Skip to content

Commit abf49cd

Browse files
author
azadorozhniy
committed
Implemented card store
1 parent 861c3c5 commit abf49cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/public/js/stores/cards/cards-store.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ var deviceStore = Reflux.createStore({
2828

2929
updateModel: function updateModel (cards) {
3030
cards = cards || [];
31-
this.cardsList = _.shuffle(cards);
31+
32+
this.cardsList = _.shuffle(cards.concat(cards));
3233
this.trigger(this.cardsList);
3334
},
3435

0 commit comments

Comments
 (0)