[develop | DONE | CHANGED] adminToolsAPIURL: remove property from function parameters, update submodule
This commit is contained in:
parent
448c50b430
commit
03cbc12f8f
|
@ -75,7 +75,7 @@ function buildCss(portal: string, suffix = null, variables: {} = null, customCss
|
|||
}
|
||||
|
||||
function buildAll(res: Response = null) {
|
||||
let layoutsURL = properties.adminToolsAPIURL + '/community/layouts';
|
||||
let layoutsURL = properties.adminToolsAPIURL + 'community/layouts';
|
||||
axios.get(layoutsURL).then(response => {
|
||||
if (response.data && Array.isArray(response.data) && response.data.length > 0) {
|
||||
response.data.forEach((layout: Layout) => {
|
||||
|
|
|
@ -88,11 +88,11 @@ export class CommunityComponent {
|
|||
|
||||
getPagePlugins() {
|
||||
this.showLoading = true;
|
||||
this.subscriptions.push(this._pluginsService.getPluginTemplatesByPageRoute(this.properties.adminToolsAPIURL, this.community.communityId, this._router.url.split('?')[0] ).subscribe(
|
||||
this.subscriptions.push(this._pluginsService.getPluginTemplatesByPageRoute(this.community.communityId, this._router.url.split('?')[0] ).subscribe(
|
||||
templates => {
|
||||
this.pluginTemplates = templates;
|
||||
|
||||
this.subscriptions.push(this._pluginsService.getPluginsByPageRoute(this.properties.adminToolsAPIURL, this.community.communityId, this._router.url.split('?')[0]).subscribe(
|
||||
this.subscriptions.push(this._pluginsService.getPluginsByPageRoute(this.community.communityId, this._router.url.split('?')[0]).subscribe(
|
||||
plugins => {
|
||||
this.plugins = plugins;
|
||||
this.pluginsByPlacement = new Map();
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 49528c98746591fe519c49944119274fbb97efb3
|
||||
Subproject commit 1593ea6ed9e62931800b62f4d4d4787228043d51
|
Loading…
Reference in New Issue