File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
web/components/views/canvas/nodes Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { AppViewConfig } from "@/lib/types";
33import { ViewModeEnum } from "@pulse-editor/shared-utils" ;
44import { Node } from "@xyflow/react" ;
55import { memo } from "react" ;
6+ import { v4 } from "uuid" ;
67import BaseAppView from "../../base/base-app-view" ;
78import CanvasNodeViewLayout from "../../layout/canvas-node-view-layout" ;
89
@@ -15,7 +16,10 @@ const AppNode = memo((props: any) => {
1516 const { createTabView, deleteAppViewInCanvasView } = useTabViewManager ( ) ;
1617
1718 async function openViewInFullScreen ( ) {
18- await createTabView ( ViewModeEnum . App , config ) ;
19+ await createTabView ( ViewModeEnum . App , {
20+ ...config ,
21+ viewId : v4 ( ) ,
22+ } ) ;
1923 }
2024
2125 return (
You can’t perform that action at this time.
0 commit comments