Remove return statement.
This commit is contained in:
parent
5e964dd8e8
commit
28460e10ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user