From 44d626d867a40a228b1980ec1a8c645156489a24 Mon Sep 17 00:00:00 2001 From: argirok Date: Fri, 15 Mar 2024 20:19:31 +0200 Subject: [PATCH] [plugins-functionality | WIP] --- src/app/community/community.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/community/community.component.ts b/src/app/community/community.component.ts index 289f814..57893a7 100644 --- a/src/app/community/community.component.ts +++ b/src/app/community/community.component.ts @@ -100,11 +100,11 @@ export class CommunityComponent { getPagePlugins() { this.showLoading = true; - this.subscriptions.push(this._pluginsService.getPluginTemplatesByPage(this.properties.adminToolsAPIURL, this.community.communityId, "60be1e6832035404d85fdd7e").subscribe( + this.subscriptions.push(this._pluginsService.getPluginTemplatesByPageRoute(this.properties.adminToolsAPIURL, this.community.communityId, this._router.url ).subscribe( templates => { this.pluginTemplates = templates; - this.subscriptions.push(this._pluginsService.getPluginsByPage(this.properties.adminToolsAPIURL, this.community.communityId, "60be1e6832035404d85fdd7e").subscribe( + this.subscriptions.push(this._pluginsService.getPluginsByPageRoute(this.properties.adminToolsAPIURL, this.community.communityId, this._router.url).subscribe( plugins => { this.plugins = plugins; this.pluginsByPlacement = new Map();