Skip to content
Snippets Groups Projects
Unverified Commit 48749a2e authored by Anton Kulyk's avatar Anton Kulyk Committed by GitHub
Browse files

Fix crash when navigating between bookmarked dashboards (#47311)

parent 5ec18217
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,10 @@ function Dashboard(props: DashboardProps) {
});
if (!isSuccessfulFetchDashboardResult(result)) {
setErrorPage(result.payload);
const payload = result.payload as { isCancelled?: boolean };
if (!payload.isCancelled) {
setErrorPage(result.payload);
}
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment