Skip to content

Commit

Permalink
Merge pull request #157 from Chasen-Zhang/main
Browse files Browse the repository at this point in the history
fix: links
  • Loading branch information
Chasen-Zhang authored Nov 25, 2023
2 parents cc04b6b + 4236f9c commit d882f0e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 8 additions & 1 deletion front/src/componnent/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const PerfLayout: FC = (): ReactElement=> {
}, [pathname]);
function MenuContent(mode: any){
return (
<Menu onClick={menuClick} style={mode==='vertical'?{}:{minWidth: '500px', marginLeft: '40px'}} theme="dark" mode={mode} selectedKeys={[selectKey]}>
<Menu onClick={menuClick} style={mode==='vertical'?{}:{minWidth: '620px', marginLeft: '40px'}} theme="dark" mode={mode} selectedKeys={[selectKey]}>
<Menu.Item key='graphs'>
<Link to={'/'}>Graphs</Link>
</Menu.Item>
Expand All @@ -39,6 +39,13 @@ const PerfLayout: FC = (): ReactElement=> {
<LinkIcon></LinkIcon>
</a>
</Menu.Item>
<Menu.Item key="Cloud">
<a style={{display: 'flex', alignItems: 'center'}} className="out-link" href={'https://www.databend.com/'} target="_blank">
<span style={{paddingRight: '5px'}}>Databend Cloud</span>
<LinkIcon></LinkIcon>
</a>
</Menu.Item>

</Menu>
)
}
Expand Down
1 change: 0 additions & 1 deletion front/src/pages/graphs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ const Graphs: FC = (): ReactElement=> {
}

}
console.log(xAxis, 'xAxis')
lines?.map((item:any)=>{
return item.type = 'line'
})
Expand Down

1 comment on commit d882f0e

@vercel
Copy link

@vercel vercel bot commented on d882f0e Nov 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.