LT-67: Refactoring schema validation
This commit is contained in:
1 parent
9e2ab2d21a
commit
2a119a5464
12 files changed
+156
-176
No files matched your search
@@ -31,7 +31,7 @@ OHIF.blaze.getParentView = (view, parentViewName) => {
|
||||
};
|
||||
|
||||
// Search for the parent component of the given view
|
||||
OHIF.blaze.getParentComponent = (view) => {
|
||||
OHIF.blaze.getParentComponent = view => {
|
||||
let currentView = view;
|
||||
while (currentView) {
|
||||
currentView = currentView.originalParentView || currentView.parentView;
|
||||
|
||||
Reference in new issue
Block a user