Commit 6c174b0a authored by Diogo Santos's avatar Diogo Santos
Browse files

Fixed bug where error in API validation wouldn't update characteristic value...

Fixed bug where error in API validation wouldn't update characteristic value correctly, but toast would say it was updated. PS. Not the cleanest fix.
parent 5d38ccdf
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -338,7 +338,7 @@ export class EditServiceSpecsComponent implements OnInit {

    dialogRef.afterClosed().subscribe (
      result => { 
        if (result) { 
        if (result !== "failed") {
          this.toast.success("Service Specification Characteristics list was successfully updated")
          this.retrieveServiceSpec()
        }
@@ -542,7 +542,7 @@ export class EditServiceSpecsComponent implements OnInit {

    dialogRef.afterClosed().subscribe (
      result => { 
        if (result === 'updated'){ 
        if (result){
          this.toast.success("Service Specification Characteristics list was successfully updated")
          this.retrieveServiceSpec()
        }