Jon interest
This commit is contained in:
@@ -12,7 +12,7 @@ import {WrenchService} from "../../services/wrench.service";
|
||||
export class InterestCardComponent implements OnInit {
|
||||
@Input() intData:any;
|
||||
@Input() intResponse: any;
|
||||
|
||||
@Input() thisObj:any;
|
||||
currData:any;
|
||||
constructor( private navctr: NavController,
|
||||
private router: Router,
|
||||
@@ -28,11 +28,11 @@ currData:any;
|
||||
|
||||
}
|
||||
|
||||
approveStart(){
|
||||
this.intResponse(this.intData, "APPROVED");
|
||||
async approveStart(){
|
||||
this.intResponse(this.thisObj, this.intData, "APPROVED");
|
||||
}
|
||||
|
||||
rejectStart(){
|
||||
this.intResponse(this.intData, "REJECT");
|
||||
async rejectStart(){
|
||||
this.intResponse(this.thisObj,this.intData, "REJECT");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user