Skip to content

Commit

Permalink
fix: plugins dropdown in entrypoints fix
Browse files Browse the repository at this point in the history
  • Loading branch information
henrychoy committed Oct 4, 2024
1 parent a66cad4 commit ec04b7d
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 ec04b7d

Please sign in to comment.