Skip to content

Commit 47f4b53

Browse files
author
pipeline
committed
bug(EJ2-3766): Committing for Sample browser refresh issue fixed.
1 parent 90af0ed commit 47f4b53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ function addRoutes(samplesList: Controls[]): void {
383383
document.body.classList.remove('sb-overlay');
384384
select('#source-panel').classList.remove('hidden');
385385
isExternalNavigation = defaultTree = false;
386-
}).catch((): void => {
387-
location.reload();
386+
}).catch((e: any): void => {
387+
errorHandler(e.message);
388388
});
389389
});
390390
}

0 commit comments

Comments
 (0)