Ghost/ghost/admin/app/components/modals
Kevin Ansfield e289b391f1 🐛 Fixed install of free themes from the marketplace that aren't in the built-in list
no issue

When we were given a source+ref we were using that to find a theme object from the built-in list of marketplace themes and if it wasn't found redirecting to the change-theme screen. That redirect didn't need to happen because we only need the `ref` and can determine the theme name from that.

- passed `ref` through to the install modal as a data argument
- updated install modal to get theme name from passed in theme or extracted from passed in `ref` when theme is not known
- adjusted "isDefaultTheme" so it always checks against Casper rather than using the `ref: 'default'` value from the list of marketplace themes
2021-11-12 12:57:25 +00:00
..
design 🐛 Fixed install of free themes from the marketplace that aren't in the built-in list 2021-11-12 12:57:25 +00:00
limits Fixed upgrade modal not showing when theme uploads are not allowed 2021-11-01 18:35:21 +00:00
offers Copy updates for Offers 2021-10-20 10:10:09 +02:00
post-preview Ensured preview iframes always include doctype and html attributes 2021-10-28 14:53:40 +01:00
archive-offer.hbs Making archive offer button less scary 2021-10-21 13:56:30 +02:00
archive-offer.js Fixed redirect of archiving offers 2021-10-22 16:19:58 +02:00
confirm-unsaved-changes.hbs Fixed close button in confirm modal causing navigation 2021-09-30 16:26:20 +01:00
delete-post.hbs Added "Enter" key handling to refactored delete-post modal 2021-09-13 13:58:13 +01:00
delete-post.js Converted delete-post modal to EPM based modal 2021-09-13 13:01:12 +01:00
post-preview.hbs 🐛 Fixed preview modal showing outdated content if opened before autosave is triggered 2021-11-10 08:55:34 +00:00
post-preview.js 🐛 Fixed preview modal showing outdated content if opened before autosave is triggered 2021-11-10 08:55:34 +00:00
unarchive-offer.hbs Updated copy for archive/reactivate offers 2021-10-14 00:53:31 +05:30
unarchive-offer.js Fixed redirect of archiving offers 2021-10-22 16:19:58 +02:00