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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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