From bd35adc0bf48d789394a9528d77441d44c52278b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csutor=C3=A1s=20Robin?= Date: Sat, 16 Sep 2017 20:28:52 +0200 Subject: [PATCH] Fix #31 --- app/controllers/evaluator.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/controllers/evaluator.js b/app/controllers/evaluator.js index 523efd9..bf2158f 100644 --- a/app/controllers/evaluator.js +++ b/app/controllers/evaluator.js @@ -190,13 +190,6 @@ export default Ember.Controller.extend({ save() { this.set('success', false); this.set('error', ''); - if (this.get('selectedDeliverable.gradingCache')) { - this.set('selectedDeliverable.Corrector', this.get('model.user')); - this.set('selectedDeliverable.grading', true); - } else { - this.set('selectedDeliverable.Corrector', null); - this.set('selectedDeliverable.grading', false); - } if (this.get('selectedDeliverable.comment') === '') { this.set('selectedDeliverable.comment', null); }