removed direct attribution of official attribute
This commit is contained in:
parent
b3f5b25eba
commit
30709221ef
1 changed files with 1 additions and 2 deletions
|
|
@ -1161,13 +1161,12 @@ export function createFlowComponent(
|
||||||
nodeData: NodeDataType,
|
nodeData: NodeDataType,
|
||||||
version: string
|
version: string
|
||||||
): FlowType {
|
): FlowType {
|
||||||
nodeData.node!.official = false;
|
|
||||||
const flowNode: FlowType = {
|
const flowNode: FlowType = {
|
||||||
data: {
|
data: {
|
||||||
edges: [],
|
edges: [],
|
||||||
nodes: [
|
nodes: [
|
||||||
{
|
{
|
||||||
data: nodeData,
|
data: {...nodeData, node: {...nodeData.node, official: false}},
|
||||||
id: nodeData.id,
|
id: nodeData.id,
|
||||||
position: { x: 0, y: 0 },
|
position: { x: 0, y: 0 },
|
||||||
type: "genericNode",
|
type: "genericNode",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue