File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
hivemq-edge-frontend/src/extensions/datahub Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,11 @@ const useDataHubDraftStore = create<WorkspaceState & WorkspaceStatus & Workspace
7777 onUpdateNodes : < T > ( item : string , data : T ) => {
7878 set ( {
7979 nodes : get ( ) . nodes . map ( ( node ) => {
80+ const newNode = { ...node }
8081 if ( node . id === item ) {
81- node . data = data
82+ newNode . data = data
8283 }
83- return node
84+ return newNode
8485 } ) ,
8586 } )
8687 } ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export const SCRIPT_FUNCTION_SEPARATOR = ':'
66export const SCRIPT_FUNCTION_PREFIX = 'fn'
77export const SCRIPT_FUNCTION_LATEST = 'latest'
88
9- export const DRYRUN_VALIDATION_DELAY = 250
9+ export const DRYRUN_VALIDATION_DELAY = 150
1010
1111export const DATAHUB_HOTKEY = {
1212 COPY : 'Meta+C' ,
You can’t perform that action at this time.
0 commit comments