From 0e5c67327092e4751208e559a2b0d5ee2b91b6e3 Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Fri, 24 Mar 2023 21:37:39 +0100 Subject: [PATCH] fix: bool config variable can't be changed --- .../src/components/admin/configuration/AdminConfigInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/admin/configuration/AdminConfigInput.tsx b/frontend/src/components/admin/configuration/AdminConfigInput.tsx index 9cf2f8b9..674a06aa 100644 --- a/frontend/src/components/admin/configuration/AdminConfigInput.tsx +++ b/frontend/src/components/admin/configuration/AdminConfigInput.tsx @@ -24,7 +24,7 @@ const AdminConfigInput = ({ configVariable.value ?? configVariable.defaultValue ), booleanValue: - configVariable.value ?? configVariable.defaultValue == "true", + (configVariable.value ?? configVariable.defaultValue) == "true", }, });