summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/shared')
-rw-r--r--usecaseui-portal/src/app/shared/components/customer/customer.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/shared/components/customer/customer.component.ts b/usecaseui-portal/src/app/shared/components/customer/customer.component.ts
index a510e6db..17142d77 100644
--- a/usecaseui-portal/src/app/shared/components/customer/customer.component.ts
+++ b/usecaseui-portal/src/app/shared/components/customer/customer.component.ts
@@ -436,7 +436,7 @@ export class CustomerComponent implements OnInit {
if (data["status"] == 'SUCCESS') {
let params = {
customerId: thisdeleteCustomer.id,
- version: data["result"]["resource-version"]
+ resourceVersion: data["result"]["resource-version"]
};
this.deleteCustomer(params, notificationModel);
} else {
@@ -444,8 +444,8 @@ export class CustomerComponent implements OnInit {
}
})
}
- deleteCustomer(params, notificationModel) {
- this.managemencs.deleteSelectCustomer(params).subscribe((data) => {
+ deleteCustomer(paramsObj, notificationModel) {
+ this.managemencs.deleteSelectCustomer(paramsObj).subscribe((data) => {
if (data["status"] == 'SUCCESS') {
this.notificationSuccess(notificationModel);
this.getAllCustomers();