Skip to content

Commit

Permalink
Update superset-frontend/src/SqlLab/components/SqlEditor/index.jsx
Browse files Browse the repository at this point in the history
Co-authored-by: Michael S. Molina <[email protected]>
  • Loading branch information
betodealmeida and michael-s-molina authored Mar 21, 2023
1 parent 23c9dcd commit 8d8e36c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ const SqlEditor = ({
/>
</Menu.Item>
)}
{Object.keys(scheduledQueriesConf || {}).length > 0 && (
{!isEmpty(scheduledQueriesConf) && (
<Menu.Item>
<ScheduleQueryButton
defaultLabel={qe.name}
Expand Down

0 comments on commit 8d8e36c

Please sign in to comment.