From c1f25d008bad18a69affbb449f3d3f387ff98a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Mon, 3 Jun 2019 16:57:10 +0200 Subject: [PATCH] more eye candy --- frontend/src/classes/Deck.js | 1 - frontend/src/components/Crystal.vue | 12 +++++++++++- frontend/src/components/Deck.vue | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/frontend/src/classes/Deck.js b/frontend/src/classes/Deck.js index 7172eab..2f0a2f7 100644 --- a/frontend/src/classes/Deck.js +++ b/frontend/src/classes/Deck.js @@ -205,7 +205,6 @@ export default class { count: elements[element] }) - retval = retval.filter(element => element.count > 0) retval.sort((element_l, element_r) => element_r.count - element_l.count) return retval diff --git a/frontend/src/components/Crystal.vue b/frontend/src/components/Crystal.vue index 054bbb9..4972189 100644 --- a/frontend/src/components/Crystal.vue +++ b/frontend/src/components/Crystal.vue @@ -1,7 +1,7 @@