Skip to content

Commit

Permalink
fix: Fix workflow selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ramedina86 committed Dec 2, 2024
1 parent 4574f21 commit e241f9f
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/ui/src/builder/settings/BuilderSettingsHandlers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,18 +162,16 @@ const options = computed<Option[]>(() => {
.map((v) => v.name)
.map((v) => ({ value: v, label: v, icon: "function" }));
const pageKeyOptions: Option[] = pageKeys.value
.map((v) => `$goToPage_${v}`)
.map((v) => ({
icon: "link",
value: v,
label: v,
}));
const pageKeyOptions: Option[] = pageKeys.value.map((v) => ({
label: `Go to page "${v}"`,
value: `$goToPage_${v}`,
icon: "link",
}));
const workflowKeyOptions: Option[] = workflowKeys.value.map((v) => ({
label: `$runWorkflow_${v}`,
value: `Run workflow "${v}"`,
icon: "move_down",
label: `Run workflow "${v}"`,
value: `$runWorkflow_${v}`,
icon: "linked_services",
}));
return [
Expand Down

0 comments on commit e241f9f

Please sign in to comment.