Fixed site title syncing from AdminX to Ember (#18349)
refs https://github.com/TryGhost/Product/issues/3832
This commit is contained in:
parent
ac7abb9edd
commit
84ae5f58d2
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user