studyDateList template is moved inside hidingPanel
This commit is contained in:
1 parent
a528e52dbc
commit
83714e2e85
10 files changed
+76
-52
No files matched your search
@@ -6,6 +6,9 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="studyBrowserContainer">
|
||||
{{#if studyDateIsShown}}
|
||||
{{> studyDateList}}
|
||||
{{/if}}
|
||||
{{> studyBrowser}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -39,6 +39,12 @@ Template.hidingPanel.events({
|
||||
}
|
||||
});
|
||||
|
||||
Template.hidingPanel.helpers({
|
||||
'studyDateIsShown': function() {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
Template.hidingPanel.onCreated(function() {
|
||||
this.hidingPanelOpen = new ReactiveVar(true);
|
||||
this.hidingPanelWidth = new ReactiveVar(0);
|
||||
|
||||
Reference in new issue
Block a user