fix: Fix bug of passing parameters to the active interface 44/99944/1
authorcyuamber <xuranyjy@chinamobile.com>
Tue, 31 Dec 2019 02:26:56 +0000 (10:26 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Tue, 31 Dec 2019 02:27:02 +0000 (10:27 +0800)
Change-Id: I40d974e551d5ba838059b490f96e318787e9ee08
Issue-ID: USECASEUI-369
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/core/services/slicingTaskServices.ts

index a9ef259..686673d 100644 (file)
@@ -117,7 +117,7 @@ export class SlicingTaskServices {
     // change slicing business activate status\r
     changeActivateSlicingService(paramsObj, activate: boolean) {\r
         let url = this.url.activateSlicingService.replace("{serviceId}", paramsObj.serviceId);\r
-        if (activate) {\r
+        if (!activate) {\r
             url = this.url.deactivateSlicingService.replace("{serviceId}", paramsObj.serviceId)\r
         }\r
         return this.http.put<any>(url, paramsObj);\r