initial fix (#16998)

This commit is contained in:
Phillip Kelley-Dotson
2021-10-08 10:56:14 -07:00
committed by GitHub
parent bdbcfbc8fc
commit 2c8e06e929

View File

@@ -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;
}