You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2022/09/06 17:14:52 UTC

[superset] 04/04: fix: Connect database from top right corner button doesn't work

This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 1.5
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 37bdf434bffc81c04dead571038b72a39b1d948d
Author: Michael S. Molina <mi...@gmail.com>
AuthorDate: Tue Sep 6 14:13:32 2022 -0300

    fix: Connect database from top right corner button doesn't work
---
 superset-frontend/src/views/components/MenuRight.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/views/components/MenuRight.tsx b/superset-frontend/src/views/components/MenuRight.tsx
index 6495b62912..4628a47e24 100644
--- a/superset-frontend/src/views/components/MenuRight.tsx
+++ b/superset-frontend/src/views/components/MenuRight.tsx
@@ -203,7 +203,7 @@ const RightMenu = ({
                       typeof item !== 'string' && item.name && item.perm ? (
                         <Fragment key={item.name}>
                           {idx === 2 && <Menu.Divider />}
-                          <Menu.Item>
+                          <Menu.Item key={item.name}>
                             {item.url ? (
                               <a href={item.url}> {item.label} </a>
                             ) : (