diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/CanvasRunWorkflowButton.vue b/packages/editor-ui/src/components/canvas/elements/buttons/CanvasRunWorkflowButton.vue
index 54acad2fe0..64520e479c 100644
--- a/packages/editor-ui/src/components/canvas/elements/buttons/CanvasRunWorkflowButton.vue
+++ b/packages/editor-ui/src/components/canvas/elements/buttons/CanvasRunWorkflowButton.vue
@@ -1,6 +1,6 @@
@@ -53,9 +53,10 @@ const onActionSelect = (item: string) => {
{
@mouseenter="$emit('mouseenter', $event)"
@mouseleave="$emit('mouseleave', $event)"
@click.stop="$emit('click', $event, selectedTrigger)"
- />
+ >{{
+ label + (selectedTrigger && triggerNodes.length > 1 ? ` from "${selectedTrigger}"` : '')
+ }}
@@ -85,12 +89,12 @@ const onActionSelect = (item: string) => {
.firstButton {
border-right: none;
- border-radius: 8px 0 0 8px;
+ border-radius: 4px 0 0 4px; // hardcoded
}
.lastButton {
border-left: none;
- border-radius: 0 8px 8px 0;
+ border-radius: 0 4px 4px 0; // hardcoded
}
.line {
diff --git a/packages/editor-ui/src/composables/useRunWorkflow.ts b/packages/editor-ui/src/composables/useRunWorkflow.ts
index 658e35b3c6..fce3421e1b 100644
--- a/packages/editor-ui/src/composables/useRunWorkflow.ts
+++ b/packages/editor-ui/src/composables/useRunWorkflow.ts
@@ -69,7 +69,6 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType workflowsStore.workflowExecutionDat
async function onRunWorkflow(triggerNode?: string) {
trackRunWorkflow();
-
+ console.log('triggerNode 1', triggerNode);
if (!isExecutionPreview.value && workflowsStore.isWaitingExecution) {
void runWorkflowResolvePending({ triggerNode });
} else {
@@ -1624,7 +1624,7 @@ onBeforeUnmount(() => {
:trigger-nodes="triggerNodes"
@mouseenter="onRunWorkflowButtonMouseEnter"
@mouseleave="onRunWorkflowButtonMouseLeave"
- @click="($event, selectedTrigger) => onRunWorkflow(selectedTrigger)"
+ @click="(_e, selectedTrigger) => onRunWorkflow(selectedTrigger)"
/>