Skip to content

Commit

Permalink
Merge pull request #131 from samply/fix/pass-system-to-ast
Browse files Browse the repository at this point in the history
Fix/pass system to ast
  • Loading branch information
MatsJohansen87 authored Oct 2, 2024
2 parents 09cad9a + aa05e66 commit e4667c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
name: element.name,
key: element.key,
type: "type" in element && element.type,
system: "system" in element ? element.system : "",
values: [
{
value: inputItem.key,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@
key: element.key,
name: element.name,
type: "type" in element && element.type,
system: "system" in element ? element.system : "",
values: [
{
name: criterion.name,
value: 'aggregatedValue' in criterion ? criterion.aggregatedValue : criterion.key,
value:
"aggregatedValue" in criterion
? criterion.aggregatedValue
: criterion.key,
queryBindId: queryBindId,
},
],
Expand All @@ -30,6 +34,4 @@
{criterion.name}
</span>
</div>
<QueryAddButtonComponent
queryItem={queryItem}
/>
<QueryAddButtonComponent {queryItem} />

0 comments on commit e4667c0

Please sign in to comment.