Ghost/ghost/admin/app/controllers/settings
jbenezech b9dd9f066d
🐛 Fixed settings overriden when updated from multiple tabs (#15536)
closes: https://github.com/TryGhost/Ghost/issues/15470

- When multiple browser tabs are open, each manipulate a different copy of ember data model, changes to the model in one tab are not reflected in the model of the other tab.
- When updating some settings, all current settings were sent to the API.
- As a result, when updating two different categories of settings (navigation/code inspection) in different tabs, the second update was overriding the first one.
- From a user perspective, this is not a natural behaviour. Only settings visible on-screen when clicking save should be modified.

Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
2022-10-12 14:03:54 +01:00
..
design Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
integration/webhooks Refactored integration webhook modals 2022-09-08 09:18:56 +01:00
integrations Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
staff Migrated staff user screen to Ember Octane patterns (#15532) 2022-10-05 12:05:31 +01:00
code-injection.js Switched code injection unsaved changes modal to new modal pattern 2022-09-09 17:44:11 +01:00
design.js Fixed save button on design settings screen 2021-10-12 15:19:27 +01:00
general.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
history.js Renamed Audit Log to History 2022-09-06 11:49:29 +01:00
integration.js Switched integration unsaved changes modal to new modal pattern 2022-09-09 17:44:11 +01:00
integrations.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
labs.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
membership.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
navigation.js 🐛 Fixed settings overriden when updated from multiple tabs (#15536) 2022-10-12 14:03:54 +01:00
newsletters.js Renamed members-email-labs to newsletters and removed unused files 2022-05-05 13:37:53 +02:00
tier.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
tiers.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00