Commit 558eaf07 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 0cbac7fa
......@@ -219,6 +219,7 @@ class DecksController extends Spine.Controller
refresh: =>
Card.fetch_by_id (card_usage.card_id for card_usage in @deck().card_usages().all()), =>
@deck().sort()
@render()
render: =>
......
......@@ -510,6 +510,7 @@
}
return _results;
}).call(this), function() {
_this.deck().sort();
return _this.render();
});
};
......
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