We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c23dea commit e7130f2Copy full SHA for e7130f2
dash/dash-renderer/src/components/error/menu/VersionInfo.react.js
@@ -55,9 +55,6 @@ async function requestDashVersionInfo(config) {
55
}).toString();
56
return fetch(dashVersionUrl + '?' + queryParams, {mode: 'cors'})
57
.then(response => response.json())
58
- .catch(() => {
59
- return {};
60
- })
61
.then(body => {
62
if (body && body.version && body.link) {
63
localStorage.setItem(
@@ -70,6 +67,9 @@ async function requestDashVersionInfo(config) {
70
67
} else {
71
68
return {};
72
69
}
+ })
+ .catch(() => {
+ return {};
73
});
74
75
0 commit comments