|
|
|
@ -21,8 +21,9 @@ const VariableInspectPanel: FC = () => {
|
|
|
|
return workflowCanvasHeight - 60
|
|
|
|
return workflowCanvasHeight - 60
|
|
|
|
}, [workflowCanvasHeight])
|
|
|
|
}, [workflowCanvasHeight])
|
|
|
|
|
|
|
|
|
|
|
|
const handleResize = useCallback((width: number) => {
|
|
|
|
const handleResize = useCallback((width: number, height: number) => {
|
|
|
|
setVariableInspectPanelHeight(width)
|
|
|
|
localStorage.setItem('workflow-variable-inpsect-panel-height', `${height}`)
|
|
|
|
|
|
|
|
setVariableInspectPanelHeight(height)
|
|
|
|
}, [setVariableInspectPanelHeight])
|
|
|
|
}, [setVariableInspectPanelHeight])
|
|
|
|
|
|
|
|
|
|
|
|
const {
|
|
|
|
const {
|
|
|
|
|