From 1aa9edcc96a617676f1ddb6e9ce641911b1ace5a Mon Sep 17 00:00:00 2001 From: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Date: Thu, 31 Aug 2023 17:53:16 +0100 Subject: [PATCH] fix(circuit params) - support legacy firestore field --- web/src/pages/ProjectPage.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/pages/ProjectPage.tsx b/web/src/pages/ProjectPage.tsx index 767016c..8537129 100644 --- a/web/src/pages/ProjectPage.tsx +++ b/web/src/pages/ProjectPage.tsx @@ -493,8 +493,10 @@ const ProjectPage: React.FC = () => { Parameters { - circuit.template.paramsConfiguration ? + circuit.template.paramsConfiguration && circuit.template.paramsConfiguration.length > 0 ? circuit.template.paramsConfiguration.join(" ") : + circuit.template.paramConfiguration && circuit.template.paramConfiguration.length > 0 ? + circuit.template.paramConfiguration.join(" ") : "No parameters" }