mirror of
https://github.com/apache/superset.git
synced 2026-04-28 04:25:07 +00:00
refactor: Bootstrap to AntD - NavDropdown (#14557)
This commit is contained in:
committed by
GitHub
parent
d31958cbd2
commit
e4d24242b4
@@ -201,7 +201,7 @@ export function Menu({
|
||||
return (
|
||||
<StyledHeader className="top" id="main-menu" role="navigation">
|
||||
<Row>
|
||||
<Col lg={19} md={19} sm={24} xs={24}>
|
||||
<Col lg={12} md={24} sm={24} xs={24}>
|
||||
<a className="navbar-brand" href={brand.path}>
|
||||
<img width={brand.width} src={brand.icon} alt={brand.alt} />
|
||||
</a>
|
||||
@@ -210,7 +210,7 @@ export function Menu({
|
||||
data-test="navbar-top"
|
||||
className="main-nav"
|
||||
>
|
||||
{menu.map((item, index) => {
|
||||
{menu.map(item => {
|
||||
const props = {
|
||||
...item,
|
||||
isFrontendRoute: isFrontendRoute(item.url),
|
||||
@@ -230,7 +230,7 @@ export function Menu({
|
||||
})}
|
||||
</DropdownMenu>
|
||||
</Col>
|
||||
<Col lg={5} md={5} sm={24} xs={24}>
|
||||
<Col lg={12} md={24} sm={24} xs={24}>
|
||||
<RightMenu
|
||||
settings={settings}
|
||||
navbarRight={navbarRight}
|
||||
|
||||
Reference in New Issue
Block a user