Skip to content

Commit

Permalink
Merge pull request #2761 from aiidtest/fix-cset-tool-2760
Browse files Browse the repository at this point in the history
Make sure incident id param is int
  • Loading branch information
kepae authored Apr 29, 2024
2 parents 928e17f + fbb0748 commit 05d1ba6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const ToolPage = (props) => {
} = props;

const { data, loading } = useQuery(FIND_CLASSIFICATION, {
variables: { query: { incidents_in: { incident_id }, namespace_in: allNamespaces } },
variables: {
query: { incidents_in: { incident_id: parseInt(incident_id) }, namespace_in: allNamespaces },
},
});

const [tableData, setTableData] = useState([]);
Expand Down

0 comments on commit 05d1ba6

Please sign in to comment.