We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f5a544 commit e181984Copy full SHA for e181984
1 file changed
src/containers/LoadingScreen/index.tsx
@@ -271,6 +271,15 @@ const LoadingScreen = ({ onEnd }: LoadingScreenProps) => {
271
Log.error("Failed to get update info");
272
return true; // Continue without OMP plugin
273
}
274
+
275
+ const versionInfo = response.data.versions[useAppState.getState().version];
276
277
+ if (versionInfo) {
278
+ response.data.download = versionInfo.download;
279
+ response.data.ompPluginChecksum = versionInfo.ompPluginChecksum;
280
+ response.data.ompPluginDownload = versionInfo.ompPluginDownload;
281
+ }
282
283
updateInfo = response.data;
284
useAppState.getState().setUpdateInfo(updateInfo);
285
} else {
0 commit comments