tiny fix for loading state in dashboard top nav (#94643) (#94713)

This commit is contained in:
Devon Thomson 2021-03-16 13:34:09 -04:00 committed by GitHub
parent b7b4eed426
commit 07e329d44e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,11 +249,11 @@ export function DashboardTopNav({
useReplace: true,
});
} else {
setIsSaveInProgress(false);
dashboardStateManager.resetState();
chrome.docTitle.change(dashboardStateManager.savedDashboard.lastSavedTitle);
}
}
setIsSaveInProgress(false);
return { id };
})
.catch((error) => {