Skip to content

Commit

Permalink
initial fix (#16998)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdotson authored Oct 8, 2021
1 parent bdbcfbc commit 2c8e06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/explore/components/SaveModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class SaveModal extends React.Component<SaveModalProps, SaveModalState> {
const lastDashboard = sessionStorage.getItem(SK_DASHBOARD_ID);
let recentDashboard = lastDashboard && parseInt(lastDashboard, 10);

if (!recentDashboard && this.props.dashboardId) {
if (this.props.dashboardId) {
recentDashboard = this.props.dashboardId;
}

Expand Down

0 comments on commit 2c8e06e

Please sign in to comment.