summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-10-08 11:00:01 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-10-08 11:00:16 +0800
commit8707107f01cafcb77c898333ec20fa7b263c7fe3 (patch)
tree157c564198c72401a57c29502bd56e43ade29dfc /usecaseui-portal/src/app/core
parent03faffe8da4c35f2807334489ba80eb562890d68 (diff)
feat:optimize api url and mock json of service-list page
Change-Id: I22cfa697dd4b1d4494bc7184a4163c7da013f48e Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/core')
-rw-r--r--usecaseui-portal/src/app/core/services/serviceList.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/core/services/serviceList.service.ts b/usecaseui-portal/src/app/core/services/serviceList.service.ts
index de3722c1..bde2c253 100644
--- a/usecaseui-portal/src/app/core/services/serviceList.service.ts
+++ b/usecaseui-portal/src/app/core/services/serviceList.service.ts
@@ -72,7 +72,7 @@ export class ServiceListService {
// Get all template types
getAllServiceTemplates(type) {
if (type == "Network Service") {
- let nsUrl = this.url.serviceTemplates.replace("service-templates", "listNsTemplates").replace("serviceTemplates2", "serviceTemplates-ns");
+ let nsUrl = this.url.serviceTemplates.replace("service-templates", "listNsTemplates");
console.log(nsUrl);
return this.http.get<any>(nsUrl);
}