Rename the methods
This commit is contained in:
@@ -49,7 +49,7 @@ export class NewGearComponent implements OnInit {
|
||||
ngOnInit() { }
|
||||
|
||||
onSubmit(formData) {
|
||||
this.serviceApi.AddGear(formData.name,
|
||||
this.serviceApi.addGear(formData.name,
|
||||
formData.manufacturer,
|
||||
+formData.minSize,
|
||||
+formData.maxSize,
|
||||
@@ -57,7 +57,7 @@ export class NewGearComponent implements OnInit {
|
||||
formData.mainCanopy,
|
||||
formData.reserveCanopy)
|
||||
.subscribe(() => {
|
||||
this.serviceComm.RefreshData(AddAction.Gear);
|
||||
this.serviceComm.refreshData(AddAction.Gear);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user