diff options
author | 2019-12-31 10:26:56 +0800 | |
---|---|---|
committer | 2019-12-31 10:27:02 +0800 | |
commit | e799a913c47aaf056ddc2aa0d51d4e6435935c17 (patch) | |
tree | 5548dd160df4bb2516d732fa6a827cf6e214e19a | |
parent | f574888b41dbf6d465973899c0265c4baa251f7f (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>
-rw-r--r-- | usecaseui-portal/src/app/core/services/slicingTaskServices.ts | 2 |
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);
|