diff options
Diffstat (limited to 'usecaseui-portal')
2 files changed, 2 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts index 387c98d7..73736f97 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/csmf-slicing-business-management.component.ts @@ -64,7 +64,7 @@ export class CsmfSlicingBusinessManagementComponent implements OnInit { let obj = { serviceId: item.order_id }; - if (item.last_operation_type === 'DELETE') this.terminateStart[index] = true + if (item.last_operation_type.toUpperCase() === 'DELETE') this.terminateStart[index] = true else this.terminateStart[index] = false; this.queryProgress(obj, index, updata).then(() => { item.last_operation_progress = '100'; diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts index fbce729f..330360ac 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts @@ -70,7 +70,7 @@ export class SlicingBusinessTableComponent implements OnInit { let obj = { serviceId: item.service_instance_id }; - if (item.last_operation_type === 'DELETE') this.terminateStart[index] = true + if (item.last_operation_type.toUpperCase() === 'DELETE') this.terminateStart[index] = true else this.terminateStart[index] = false; this.queryProgress(obj, item.orchestration_status, index, updata).then((res) => { item.last_operation_progress = '100'; |