From 28460e10ff890570da7d6c478be0aa060603d4c0 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 30 Jul 2017 16:39:11 +0200 Subject: [PATCH] Remove return statement. --- src/operations/operationList.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/operations/operationList.component.ts b/src/operations/operationList.component.ts index dd68568..07743ba 100644 --- a/src/operations/operationList.component.ts +++ b/src/operations/operationList.component.ts @@ -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