mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: menu shows a 0 when there are not settings (#11009)
This commit is contained in:
@@ -187,7 +187,7 @@ export function Menu({
|
||||
</Nav>
|
||||
<Nav className="navbar-right">
|
||||
{!navbarRight.user_is_anonymous && <NewMenu />}
|
||||
{settings && settings.length && (
|
||||
{settings && settings.length > 0 && (
|
||||
<NavDropdown id="settings-dropdown" title="Settings">
|
||||
{flatSettings.map((section, index) => {
|
||||
if (section === '-') {
|
||||
|
||||
Reference in New Issue
Block a user