fix: various type issues and error handlings (#2831)
* fix(error):Fix a few error conditions, mostly around seriesNumber * apply few fixes
This commit is contained in:
1 parent
71f5fa8e2f
commit
0090605cf7
10 files changed
+51
-21
No files matched your search
@@ -419,7 +419,7 @@ OHIFCornerstoneViewport.propTypes = {
|
||||
displaySets: PropTypes.array.isRequired,
|
||||
dataSource: PropTypes.object.isRequired,
|
||||
viewportOptions: PropTypes.object,
|
||||
displaySetOptions: PropTypes.arrayOf(PropTypes.object),
|
||||
displaySetOptions: PropTypes.arrayOf(PropTypes.any),
|
||||
servicesManager: PropTypes.object.isRequired,
|
||||
onElementEnabled: PropTypes.func,
|
||||
// Note: you SHOULD NOT use the initialImageIdOrIndex for manipulation
|
||||
|
||||
Reference in new issue
Block a user