Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     dialogRef.afterClosed().subscribe((procedureApiModel: ProcedureApiModel) => {
  2.       if (procedureApiModel) {
  3.         const procedure: Procedure = convertApiModelToProcedure(procedureApiModel);
  4.         this.allProcedures.push(procedure);
  5.         if (this.category.id === procedureApiModel.category) {
  6.           this.procedures.push(procedure);
  7.         }
  8.       }
  9.     })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement