Skip to content

Commit

Permalink
fix(catalogue): variables filter on source showed 'na' mappings (#4349)
Browse files Browse the repository at this point in the history
  • Loading branch information
mswertz authored Oct 14, 2024
1 parent b8d5f17 commit 106f0ae
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ const query = computed(() => {
repeatMax
label
description
mappings ${moduleToString(mappingsFragment)}
mappings(filter:{match:{name:{equals:["complete","partial"]}}}) ${moduleToString(
mappingsFragment
)}
}
Resources(filter: $resourcesFilter, orderby: { id: ASC }) {
id
Expand Down Expand Up @@ -231,6 +233,7 @@ const fetchData = async () => {
? {
mappings: {
source: { id: { equals: resourceConditions.map((c) => c.name) } },
match: { name: { equals: ["complete", "partial"] } },
},
}
: undefined;
Expand Down

0 comments on commit 106f0ae

Please sign in to comment.