0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🐛 Fixed offers and custom theme setting features not appearing in Admin

no issue

- the feature flags still had the `developer: true` option so even though the server is correctly returning `true` for the features, Admin wasn't enabling them unless the `enableDeveloperExperiments` flag was also set
This commit is contained in:
Kevin Ansfield 2021-10-23 15:56:16 +01:00 committed by Daniel Lockyer
parent 5588ead114
commit 3adb4b80bd

View file

@ -53,9 +53,9 @@ export default Service.extend({
nightShift: feature('nightShift', {user: true, onChange: '_setAdminTheme'}), nightShift: feature('nightShift', {user: true, onChange: '_setAdminTheme'}),
launchComplete: feature('launchComplete', {user: true}), launchComplete: feature('launchComplete', {user: true}),
multipleProducts: feature('multipleProducts'), multipleProducts: feature('multipleProducts'),
offers: feature('offers', {developer: true}), offers: feature('offers'),
oauthLogin: feature('oauthLogin', {developer: true}), oauthLogin: feature('oauthLogin', {developer: true}),
customThemeSettings: feature('customThemeSettings', {developer: true}), customThemeSettings: feature('customThemeSettings'),
membersActivity: feature('membersActivity', {developer: true}), membersActivity: feature('membersActivity', {developer: true}),
_user: null, _user: null,