More cleanup for the study list

This commit is contained in:
Erik Ziegler committed 2016-07-22 11:00:16 +02:00
1 parent 093a97f0f3
commit 848251eba9
9 files changed
+30 -51

No files matched your search

+1 -14
View File
@@ -40,20 +40,7 @@ Router.route('/', function() {
if (verifyEmail && Meteor.user().emails && !Meteor.user().emails[0].verified) {
this.render('emailVerification', routerOptions);
} else {
this.render('lesionTracker', routerOptions);
}
} else {
this.render('entrySignIn', routerOptions);
}
});
Router.route('/worklist', function() {
// Check user is logged in
if (Meteor.user() && Meteor.userId()) {
if (verifyEmail && Meteor.user().emails && !Meteor.user().emails[0].verified) {
this.render('emailVerification', routerOptions);
} else {
Session.set('activeContentId', 'worklistTab');
this.render('lesionTracker', routerOptions);
}