Skip to content

Commit

Permalink
Merge pull request #91 from privacy-scaling-explorations/dev
Browse files Browse the repository at this point in the history
fix(circuit params) - support legacy firestore field
  • Loading branch information
daodesigner authored Aug 31, 2023
2 parents b97d77f + 1aa9edc commit d132808
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/src/pages/ProjectPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,10 @@ const ProjectPage: React.FC = () => {
<StatLabel fontSize={12}>Parameters</StatLabel>
<StatNumber fontSize={16}>
{
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"
}
</StatNumber>
Expand Down

0 comments on commit d132808

Please sign in to comment.