Skip to content

Commit

Permalink
Merge pull request #14086 from mvdbeek/fix_rule_builder_integer_dataset
Browse files Browse the repository at this point in the history
[21.09] Fix rule builder input with integer values
  • Loading branch information
jmchilton authored Jun 18, 2022
2 parents c5527ed + a314bcb commit b08fe47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/src/components/Upload/RulesInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ export default {
.get(
`${getAppRoot()}api/histories/${
Galaxy.currHistoryPanel.model.id
}/contents/${selectedDatasetId}/display`
}/contents/${selectedDatasetId}/display`,
// The Rule builder expects strings, we should not parse the respone to the default JSON type
{
responseType: "text",
}
)
.then((response) => {
this.sourceContent = response.data;
Expand Down

0 comments on commit b08fe47

Please sign in to comment.