diff --git a/ghost/portal/src/components/ParentContainer.js b/ghost/portal/src/components/ParentContainer.js index 6ab42ab33f..e28af739ae 100644 --- a/ghost/portal/src/components/ParentContainer.js +++ b/ghost/portal/src/components/ParentContainer.js @@ -12,9 +12,9 @@ export default class ParentContainer extends React.Component { super(props); console.log('Initialized script with data', props.data); - // Setup Members API with blog/admin URLs - const {blogUrl, adminUrl} = props.data.site; - this.MembersAPI = setupMembersApi({blogUrl, adminUrl}); + // Setup Members API with site/admin URLs + const {siteUrl, adminUrl} = props.data.site; + this.MembersAPI = setupMembersApi({siteUrl, adminUrl}); // Setup custom trigger button handling this.customTriggerButton = document.querySelector('[data-members-trigger-button]'); diff --git a/ghost/portal/src/components/PopupMenuComponent.js b/ghost/portal/src/components/PopupMenuComponent.js index a9ae47e205..2615bdb3c6 100644 --- a/ghost/portal/src/components/PopupMenuComponent.js +++ b/ghost/portal/src/components/PopupMenuComponent.js @@ -73,14 +73,14 @@ export default class PopupMenuComponent extends React.Component { marginBottom: '12px' }; - const blogTitle = (this.props.data.site && this.props.data.site.title) || 'Site Title'; - const blogDescription = (this.props.data.site && this.props.data.site.description) || 'Site Description'; + const siteTitle = (this.props.data.site && this.props.data.site.title) || 'Site Title'; + const siteDescription = (this.props.data.site && this.props.data.site.description) || 'Site Description'; return (
-
Signup/Signin to {blogTitle}
-
{blogDescription}
+
Signup/Signin to {siteTitle}
+
{siteDescription}