Skip to content

Commit

Permalink
Fix bug: Create dataset disabled in topnav + menu
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndsiWilliams committed Jan 25, 2023
1 parent 6306803 commit 961bd37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset-frontend/src/views/components/RightMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ const RightMenu = ({
);

const buildMenuItem = (item: Record<string, any>) => {
const disabledText = isDisabled && item.url;
const disabledText =
isDisabled && item.url && !item.url.includes('dataset');
return disabledText ? (
<Menu.Item key={item.name} css={styledDisabled}>
<Tooltip placement="top" title={tooltipText}>
Expand Down

0 comments on commit 961bd37

Please sign in to comment.