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,
|
downloadNode,
|
||||||
removeApiKeys,
|
removeApiKeys,
|
||||||
removeFileNameFromComponents,
|
removeFileNameFromComponents,
|
||||||
removeGlobalVariableFromComponents,
|
|
||||||
} from "../../utils/reactflowUtils";
|
} from "../../utils/reactflowUtils";
|
||||||
import BaseModal from "../baseModal";
|
import BaseModal from "../baseModal";
|
||||||
import ConfirmationModal from "../confirmationModal";
|
import ConfirmationModal from "../confirmationModal";
|
||||||
|
|
@ -95,7 +94,6 @@ export default function ShareModal({
|
||||||
const handleShareComponent = async (update = false) => {
|
const handleShareComponent = async (update = false) => {
|
||||||
//remove file names from flows before sharing
|
//remove file names from flows before sharing
|
||||||
removeFileNameFromComponents(component);
|
removeFileNameFromComponents(component);
|
||||||
removeGlobalVariableFromComponents(component);
|
|
||||||
const flow: FlowType = removeApiKeys({
|
const flow: FlowType = removeApiKeys({
|
||||||
id: component!.id,
|
id: component!.id,
|
||||||
data: component!.data,
|
data: component!.data,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue