diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2020-02-28 15:28:51 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2020-02-28 15:29:04 +0800 |
commit | c7eddd7f76b56d4bd7e41ef01286633d76914269 (patch) | |
tree | a80dccaa28e2a9053a7ae1750744d8818ef8d787 /usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management | |
parent | fa7bc1af69c58120fa5a0746d75a4c08bccfd986 (diff) |
feat:Optimize string to uppercase of slicing page
Change-Id: I3e990e32f46270754c351f17fa48479162f5ba52
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |