summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-31 10:26:56 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-31 10:27:02 +0800
commite799a913c47aaf056ddc2aa0d51d4e6435935c17 (patch)
tree5548dd160df4bb2516d732fa6a827cf6e214e19a /usecaseui-portal/src/app/core
parentf574888b41dbf6d465973899c0265c4baa251f7f (diff)
fix: Fix bug of passing parameters to the active interface
Change-Id: I40d974e551d5ba838059b490f96e318787e9ee08 Issue-ID: USECASEUI-369 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/core')
-rw-r--r--usecaseui-portal/src/app/core/services/slicingTaskServices.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/core/services/slicingTaskServices.ts b/usecaseui-portal/src/app/core/services/slicingTaskServices.ts
index a9ef2591..686673d6 100644
--- a/usecaseui-portal/src/app/core/services/slicingTaskServices.ts
+++ b/usecaseui-portal/src/app/core/services/slicingTaskServices.ts
@@ -117,7 +117,7 @@ export class SlicingTaskServices {
// change slicing business activate status
changeActivateSlicingService(paramsObj, activate: boolean) {
let url = this.url.activateSlicingService.replace("{serviceId}", paramsObj.serviceId);
- if (activate) {
+ if (!activate) {
url = this.url.deactivateSlicingService.replace("{serviceId}", paramsObj.serviceId)
}
return this.http.put<any>(url, paramsObj);