mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 16:42:17 +03:00
e289b391f1
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 |
||
---|---|---|
.. | ||
change-theme | ||
change-theme.js | ||
index.js |