Ghost/ghost/admin/app/templates/settings
Arjuna Kristophe Sankar 096dffb817
🐛 Fixed missing active theme breaks design screen (#15602)
closes: https://github.com/TryGhost/Ghost/issues/15505

When starting Ghost with a missing active theme, the design settings screen and change theme screen both end up in a broken state with the user unable to select a new theme as the active one.

The design screen has no default (or blank) slate, and so shows a preview of an empty theme.
- First added a new default screen to serve as a placeholder for when the state contains no active theme.
- Added a check for when there was no active theme, then redirects the user to the default screen .

The change theme screen wants to set an active property on the theme that should be active in the theme list.
- Added a check to see whether there is an active theme set.
- If there isn't one, don't bother trying to add the active property.
2022-10-30 14:14:11 +00:00
..
design 🐛 Fixed missing active theme breaks design screen (#15602) 2022-10-30 14:14:11 +00:00
integrations Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
staff Migrated staff user screen to Ember Octane patterns (#15532) 2022-10-05 12:05:31 +01:00
analytics.hbs Wired new analytics settings for tracking email and sources 2022-10-27 17:29:33 +05:30
code-injection-loading.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
code-injection.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
general-loading.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
general.hbs 🐛 Fixed ctrl/cmd+s not saving focused fields on general/staff settings screens 2022-10-04 17:55:24 +01:00
history.hbs Updated tag and history breadcrumbs 2022-10-05 12:40:51 +07:00
integration.hbs Fixed breadcrumbs responsive issues 2022-10-06 16:25:57 +07:00
integrations.hbs Added disabled state with CTA for Zapier integration 2022-10-05 15:36:52 +02:00
labs-loading.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
labs.hbs Removed GA flags from labs page 2022-10-27 19:16:31 +02:00
membership.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
navigation.hbs Moved navigation screen components 2022-10-07 17:23:39 +01:00
newsletters.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00