From d414b95c1c664adcd5149aee8eac4436b40d7dfb Mon Sep 17 00:00:00 2001 From: Christoph Lienhard Date: Thu, 31 Dec 2020 21:13:21 +0100 Subject: [PATCH] Fix several smaller problems * adapt for structure change in gql backend (e.g. id -> rowId) * display questions not rowId dependent anymore * fixed calculation error if both, party and user, selected "skipped" * fixed problems occuring when a candidate hasn't answered all questions (yet) --- src/app/euromat/components/theses.vue | 28 ++++----- src/app/euromat/graphqlQueries.js | 84 +++++++++++++-------------- src/app/euromat/scoring.js | 10 ++-- src/app/euromat/scoring.test.js | 6 ++ src/app/party/components/index.vue | 36 +++++++++--- 5 files changed, 91 insertions(+), 73 deletions(-) diff --git a/src/app/euromat/components/theses.vue b/src/app/euromat/components/theses.vue index c86a415..66be845 100644 --- a/src/app/euromat/components/theses.vue +++ b/src/app/euromat/components/theses.vue @@ -6,7 +6,7 @@ /{{ thesesCount }}