diff --git a/dashboard/divId/divIds.component.html b/dashboard/divId/divIds.component.html index 92b89015..ae2dd26a 100644 --- a/dashboard/divId/divIds.component.html +++ b/dashboard/divId/divIds.component.html @@ -35,7 +35,7 @@
-
-
- add +
+
diff --git a/dashboard/divId/divIds.component.ts b/dashboard/divId/divIds.component.ts index 61e2f634..ca5ba80a 100644 --- a/dashboard/divId/divIds.component.ts +++ b/dashboard/divId/divIds.component.ts @@ -101,7 +101,7 @@ export class DivIdsComponent implements OnInit { this.updateErrorMessage = ""; this.errorMessage = ""; - this._helpContentService.getDivIdsFull(null, this.properties.adminToolsAPIURL).subscribe( + this._helpContentService.getAllDivIdsFull( this.properties.adminToolsAPIURL).subscribe( divIds => { this.divIds = divIds; this.checkboxes = []; @@ -326,7 +326,7 @@ export class DivIdsComponent implements OnInit { getPages() { this.showLoading = true; this.errorMessage = ""; - this._helpContentService.getPages(this.properties.adminToolsAPIURL, this.selectedCommunityPid).subscribe( + this._helpContentService.getAllPages(this.properties.adminToolsAPIURL).subscribe( pages => { this.allPages = pages; this.showLoading = false; diff --git a/dashboard/divhelpcontent/div-help-content-form.component.ts b/dashboard/divhelpcontent/div-help-content-form.component.ts index 8778d822..f398e623 100644 --- a/dashboard/divhelpcontent/div-help-content-form.component.ts +++ b/dashboard/divhelpcontent/div-help-content-form.component.ts @@ -116,7 +116,7 @@ export class DivContentFormComponent implements OnInit{ //this.showLoading = true; this.errorMessage = ''; - this._helpContentService.getDivIdsFull(pageId, this.properties.adminToolsAPIURL, this.communityPid).subscribe( + this._helpContentService.getDivIdsFullByPortal(pageId, this.properties.adminToolsAPIURL, this.communityPid).subscribe( divs => { this.availableDivs = divs; this.pageId = pageId; diff --git a/dashboard/divhelpcontent/div-help-contents.component.html b/dashboard/divhelpcontent/div-help-contents.component.html index 0250a855..9d38666b 100644 --- a/dashboard/divhelpcontent/div-help-contents.component.html +++ b/dashboard/divhelpcontent/div-help-contents.component.html @@ -16,17 +16,12 @@