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