Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed May 31, 2022
1 parent 8d3be47 commit b016a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/views/components/MenuRight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const RightMenu = ({
},
{
label: t('Chart'),
url: !Number.isNaN(dashboardId)
url: Number.isInteger(dashboardId)
? `/chart/add?dashboard_id=${dashboardId}`
: '/chart/add',
icon: 'fa-fw fa-bar-chart',
Expand Down

0 comments on commit b016a37

Please sign in to comment.