Skip to content

Commit

Permalink
Merge pull request #649 from usnistgov/plugins-dropdown-fix
Browse files Browse the repository at this point in the history
fix: plugins dropdown in entrypoints form fix
  • Loading branch information
hbooth authored Oct 11, 2024
2 parents a66cad4 + ec04b7d commit 17325e6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/frontend/src/views/CreateEntryPoint.vue
Original file line number Diff line number Diff line change
Expand Up @@ -308,13 +308,15 @@
entryPoint.value.plugins.forEach(async(plugin) => {
let pluginID = typeof plugin === 'object' ? plugin.id : plugin
try {
const res = await api.getFiles(pluginID)
const res = await api.getFiles(pluginID, {
search: '',
rowsPerPage: 0, // get all
index: 0
})
console.log('res = ', res)
res.data.data.forEach((file) => {
file.tasks.forEach((task) => {
task.pluginName = file.plugin.name
// task.inputParams = task.inputParams.map((input) => input.name)
// task.outputParams = task.outputParams.map((output) => output.name)
tasks.value.push(task)
})
})
Expand Down

0 comments on commit 17325e6

Please sign in to comment.