LT-377: Remove duplicated loading template in OHIF Viewer
This commit is contained in:
1 parent
7ca7808b86
commit
d19d205fb0
3 files changed
+14
-16
No files matched your search
@@ -1,19 +1,19 @@
|
|||||||
<template name="viewer">
|
<template name="viewer">
|
||||||
{{#if Template.subscriptionsReady}}
|
{{#if and Template.subscriptionsReady}}
|
||||||
<div class="viewerDialogs">
|
<div class="viewerDialogs">
|
||||||
{{>cineDialog}}
|
{{>cineDialog}}
|
||||||
{{>layoutChooser}}
|
{{>layoutChooser}}
|
||||||
{{>annotationDialogs}}
|
{{>annotationDialogs}}
|
||||||
|
|
||||||
<!-- Hanging Protocol dialogs -->
|
<!-- Hanging Protocol dialogs -->
|
||||||
{{>ruleEntryDialog}}
|
{{>ruleEntryDialog}}
|
||||||
{{>settingEntryDialog}}
|
{{>settingEntryDialog}}
|
||||||
{{>textEntryDialog}}
|
{{>textEntryDialog}}
|
||||||
</div>
|
</div>
|
||||||
<div id="viewer">
|
<div id="viewer">
|
||||||
{{>toolbarSection (clone this)}}
|
{{>toolbarSection (clone this)}}
|
||||||
{{>flexboxLayout (clone this)}}
|
{{>flexboxLayout (clone this)}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{>loadingText}}
|
{{>loadingText}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
<div class="viewerContainer">
|
<div class="viewerContainer">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{>loadingText}}
|
|
||||||
</div>
|
</div>
|
||||||
{{#each templateName in additionalTemplates}}
|
{{#each templateName in additionalTemplates}}
|
||||||
{{> UI.dynamic template=templateName}}
|
{{> UI.dynamic template=templateName}}
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ switchToTab = function(contentId) {
|
|||||||
// Attempt to retrieve the meta data (it might be cached)
|
// Attempt to retrieve the meta data (it might be cached)
|
||||||
OHIF.studylist.getStudiesMetadata(studyInstanceUids, function(studies) {
|
OHIF.studylist.getStudiesMetadata(studyInstanceUids, function(studies) {
|
||||||
viewStudiesInTab(contentId, studies);
|
viewStudiesInTab(contentId, studies);
|
||||||
Session.set('GettingStudyMetadata', false);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user