From 84ae5f58d2a2caac20bcb0d149da23c41a242ebf Mon Sep 17 00:00:00 2001 From: Jono M Date: Tue, 26 Sep 2023 10:51:43 +0100 Subject: [PATCH] Fixed site title syncing from AdminX to Ember (#18349) refs https://github.com/TryGhost/Product/issues/3832 --- ghost/admin/app/components/admin-x/settings.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghost/admin/app/components/admin-x/settings.js b/ghost/admin/app/components/admin-x/settings.js index 5a35ffc244..a50a4012ef 100644 --- a/ghost/admin/app/components/admin-x/settings.js +++ b/ghost/admin/app/components/admin-x/settings.js @@ -318,6 +318,11 @@ export default class AdminXSettings extends Component { } else { this.store.pushPayload(type, response); } + + if (dataType === 'SettingsResponseType') { + // Blog title is based on settings, but the one stored in config is used instead in various places + this.config.blogTitle = response.settings.find(setting => setting.key === 'title').value; + } }; onInvalidate = (dataType) => {