LT-251: Showing patient studies even if there are no timepoints

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-07-22 11:08:27 +02:00
1 parent 0d9afa3557
commit dc20359c1c
6 files changed
+72 -57

No files matched your search

@@ -1,7 +1,6 @@
Template.flexboxLayout.onCreated(() => {
const instance = Template.instance();
instance.state = instance.data.state;
instance.timepointViewType = new ReactiveVar();
});
let resizeTimeout;
@@ -22,24 +21,6 @@ Template.flexboxLayout.onRendered(() => {
});
Template.flexboxLayout.helpers({
timepointViewType() {
return Template.instance().timepointViewType;
},
sidebarButtonGroupData() {
const instance = Template.instance();
return {
value: instance.timepointViewType,
options: [{
value: 'key',
text: 'Key Timepoints'
}, {
value: 'all',
text: 'All Timepoints'
}]
};
},
leftSidebarOpen() {
const instance = Template.instance();
return instance.state.get('leftSidebar');