mirror of
https://github.com/exane/not-gwent-online
synced 2025-10-09 07:39:08 +00:00
load cards
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = {
|
||||
leaders: [],
|
||||
leader: null,
|
||||
|
||||
factionFilter: 'Northern Realm'
|
||||
factionFilter: 'northern_realm'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -23,6 +23,7 @@ module.exports = {
|
||||
|
||||
methods: {
|
||||
changeDeck: function(deck) {
|
||||
// todo: load animation
|
||||
$('.all-cards').addClass('remove');
|
||||
this.factionFilter = deck;
|
||||
$('.all-cards').scrollTop(0);
|
||||
|
Reference in New Issue
Block a user