Fix Operation confirmation.
This commit is contained in:
parent
896daa70c5
commit
70eb1febff
@ -98,9 +98,9 @@ export class OperationRowComponent {
|
||||
};
|
||||
|
||||
save(operation) {
|
||||
return this.operationService.update(operation).subscribe((operation) => {
|
||||
operation.confirmed = true;
|
||||
|
||||
return this.operationService.update(operation).subscribe((operation) => {
|
||||
this.toastrService.success('Operation #' + operation.id + ' saved.');
|
||||
|
||||
this.needsReload.emit();
|
||||
|
Loading…
Reference in New Issue
Block a user