Skip to content

Commit

Permalink
Fix #31
Browse files Browse the repository at this point in the history
  • Loading branch information
Csutorás Robin committed Sep 16, 2017
1 parent 0730d56 commit bd35adc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/controllers/evaluator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit bd35adc

Please sign in to comment.