diff --git a/packages/editor-ui/src/components/MainHeader/WorkflowDetails.vue b/packages/editor-ui/src/components/MainHeader/WorkflowDetails.vue
index 5e43bbe1a4f8b..0cff15cddce53 100644
--- a/packages/editor-ui/src/components/MainHeader/WorkflowDetails.vue
+++ b/packages/editor-ui/src/components/MainHeader/WorkflowDetails.vue
@@ -241,7 +241,7 @@ export default mixins(workflowHelpers, titleChange).extend({
if (saved) await this.settingsStore.fetchPromptsData();
},
onShareButtonClick() {
- this.uiStore.openModal(WORKFLOW_SHARE_MODAL_KEY);
+ this.uiStore.openModalWithData({ name: WORKFLOW_SHARE_MODAL_KEY, data: { id: this.currentWorkflowId } });
},
onTagsEditEnable() {
this.$data.appliedTagIds = this.currentWorkflowTagIds;
diff --git a/packages/editor-ui/src/components/Modals.vue b/packages/editor-ui/src/components/Modals.vue
index aa66a3bddb9f5..ce072545d3d33 100644
--- a/packages/editor-ui/src/components/Modals.vue
+++ b/packages/editor-ui/src/components/Modals.vue
@@ -83,7 +83,13 @@
-
+
+
+
diff --git a/packages/editor-ui/src/components/WorkflowCard.vue b/packages/editor-ui/src/components/WorkflowCard.vue
index 8b1e185efa764..466f52cd11fbe 100644
--- a/packages/editor-ui/src/components/WorkflowCard.vue
+++ b/packages/editor-ui/src/components/WorkflowCard.vue
@@ -59,7 +59,7 @@