Ghost/ghost/admin/app/routes/settings/design
Kevin Ansfield d9c9818c73 Fixed custom theme settings disappearing when confirming leave-without-save
refs https://github.com/TryGhost/Team/issues/1149

- `customThemeSettings.rollback()` was not performing the correct job, changed to rollback attributes on each model rather than resetting everything to empty
- moved leave confirmation handling to the `settings.design.index` route so that it's always called when moving to the change-theme route, previously with the behaviour on the main `settings.design` route the willtransition/deactivate was not called when expected because that route is still active when on `settings.design.change-theme`
2021-10-19 16:22:16 +01:00
..
change-theme Added "active" indicator and list themes in "active, default, ...rest" order 2021-10-18 13:02:35 +01:00
change-theme.js Added "active" indicator and list themes in "active, default, ...rest" order 2021-10-18 13:02:35 +01:00
index.js Fixed custom theme settings disappearing when confirming leave-without-save 2021-10-19 16:22:16 +01:00