Remove return statement.

This commit is contained in:
Alexis Lahouze 2017-07-30 16:39:11 +02:00
parent 5e964dd8e8
commit 28460e10ff

View File

@ -130,8 +130,6 @@ export class OperationListComponent implements OnInit {
this.toastrService.success('Operation #' + operation.id + ' saved.');
this.load(this.minDate, this.maxDate);
return operation;
}, (result) => {
this.toastrService.error(
'Error while saving operation: ' + result.message