From 56ee5b6766d426f9be138ae18286a03b66ee5a5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krys=CC=8Ctof=20Korb?= Date: Mon, 4 Sep 2023 17:59:31 +0200 Subject: [PATCH] Fix profile, untested --- frontend/src/routes/profile/ElectionCardWrapperComponent.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/routes/profile/ElectionCardWrapperComponent.vue b/frontend/src/routes/profile/ElectionCardWrapperComponent.vue index 9d2bb25ce..aabb5ab7b 100644 --- a/frontend/src/routes/profile/ElectionCardWrapperComponent.vue +++ b/frontend/src/routes/profile/ElectionCardWrapperComponent.vue @@ -31,8 +31,7 @@ const calculator = calculators.find( ); const { election, candidates } = await deprecatedFetchCalculator( - calculator?.election_id as string, - calculator?.district_code as string, + calculator?.key as string, ); // const election = calc ? calc.election : null;