fix: Remove removeGlobalVariableFromComponents call on flow export (#2832)
refactor: remove removeGlobalVariableFromComponents call on flow export Co-authored-by: Cristhian Zanforlin Lousa <72977554+Cristhianzl@users.noreply.github.com>
This commit is contained in:
parent
48e3cc3517
commit
c880d9035c
1 changed files with 0 additions and 2 deletions
|
|
@ -21,7 +21,6 @@ import {
|
|||
downloadNode,
|
||||
removeApiKeys,
|
||||
removeFileNameFromComponents,
|
||||
removeGlobalVariableFromComponents,
|
||||
} from "../../utils/reactflowUtils";
|
||||
import BaseModal from "../baseModal";
|
||||
import ConfirmationModal from "../confirmationModal";
|
||||
|
|
@ -95,7 +94,6 @@ export default function ShareModal({
|
|||
const handleShareComponent = async (update = false) => {
|
||||
//remove file names from flows before sharing
|
||||
removeFileNameFromComponents(component);
|
||||
removeGlobalVariableFromComponents(component);
|
||||
const flow: FlowType = removeApiKeys({
|
||||
id: component!.id,
|
||||
data: component!.data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue