mirror of https://github.com/apache/superset.git
initial fix (#16998)
This commit is contained in:
parent
bdbcfbc8fc
commit
2c8e06e929
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue