From 40c8053fdc81b993d2b38f4dd123d630e69dcd95 Mon Sep 17 00:00:00 2001 From: Juho Haapakoski <143187061+solita-juhohaa@users.noreply.github.com> Date: Wed, 5 Jun 2024 15:10:13 +0300 Subject: [PATCH] Revert "Revert "Allow selecting the new signing method for a tester"" --- etp-front/src/pages/energiatodistus/ToolBar/toolbar.svelte | 6 +++++- .../src/pages/energiatodistus/signing/SigningDialog.svelte | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/etp-front/src/pages/energiatodistus/ToolBar/toolbar.svelte b/etp-front/src/pages/energiatodistus/ToolBar/toolbar.svelte index 75f27e8e6..60219f1d8 100644 --- a/etp-front/src/pages/energiatodistus/ToolBar/toolbar.svelte +++ b/etp-front/src/pages/energiatodistus/ToolBar/toolbar.svelte @@ -211,7 +211,11 @@ {#if signingActive} - + {/if}
{ - allowSelection = !isProduction(config.environment); + // Allow signing temporarily for laatija id 79 to check that the signing + // works as intended. + allowSelection = !isProduction(config.environment) || whoami.id === 79; }, versionApi.getConfig );