Skip to content

Commit

Permalink
feature: add seatunnel menubar
Browse files Browse the repository at this point in the history
  • Loading branch information
wangqi committed Jan 6, 2024
1 parent 079969d commit 868c13d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scaleph-ui-react2/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const layout: RunTimeLayoutConfig = ({initialState, setInitialState}) =>
return (<>{defaultDom}</>);
},
rightContentRender: () => <RightContent/>,
// menuDataRender: () => defaultMenus,
menuDataRender: () => defaultMenus,
menuItemRender: (menuItemProps: any, defaultDom: any) => {
return (
<Space align="end" size={5}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const JSONDebugModal: React.FC<ModalFormProps<null>> = ({visible, onVisibleChang
}
useEffect(() => {
setConf(JSON.stringify({nodes, edges}, null, 2))
}, []);
}, [nodes, edges]);

return (
<Drawer
Expand Down

0 comments on commit 868c13d

Please sign in to comment.