fix: 🐛 Fail gracefully on an MPR load error (#1992)

* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool

* Fix import of react-vtkjs-viewport to cornerstone-tools path.

* Increase maximum load time of MPR test now we are throttling requests.

* fix: 🐛 Fail gracefully on an MPR load error

* Respond to reviewer comments.
This commit is contained in:
James Petts authored and GitHub committed 2020-08-24 11:44:09 +02:00
1 parent 7f3ca1fc23
commit 779a7e0976
5 files changed
+44 -20

No files matched your search

+4 -2
View File
@@ -16,8 +16,10 @@ const vtkExtension = {
*/
id: 'vtk',
getViewportModule({ commandsManager }) {
const ExtendedVTKViewport = props => <OHIFVTKViewport {...props} />;
getViewportModule({ commandsManager, servicesManager }) {
const ExtendedVTKViewport = props => (
<OHIFVTKViewport {...props} servicesManager={servicesManager} />
);
return withCommandsManager(ExtendedVTKViewport, commandsManager);
},
getToolbarModule() {