From 84c0df3db0578ea726314733c3b91ae0080f98d8 Mon Sep 17 00:00:00 2001 From: Christopher Joe Date: Mon, 17 Oct 2016 13:00:25 +1300 Subject: [PATCH] Fix double forward slash link in campaign admin --- .../client/src/containers/CampaignAdmin/CampaignAdminList.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/client/src/containers/CampaignAdmin/CampaignAdminList.js b/admin/client/src/containers/CampaignAdmin/CampaignAdminList.js index 1f5909c7b..919e0de00 100644 --- a/admin/client/src/containers/CampaignAdmin/CampaignAdminList.js +++ b/admin/client/src/containers/CampaignAdmin/CampaignAdminList.js @@ -133,9 +133,10 @@ class CampaignAdminList extends SilverStripeComponent { // Set body const pagesLink = [ - this.props.config.baseUrl, + this.props.config.absoluteBaseUrl, this.props.config.sections['SilverStripe\\CMS\\Controllers\\CMSPagesController'].url, - ].join('/'); + ].join(''); + const body = accordionBlocks.length ? ({accordionBlocks}) : (