From 3adb4b80bdedef6dbce66a66c14d4028eebde5f2 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Sat, 23 Oct 2021 15:56:16 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20offers=20and=20custom=20?= =?UTF-8?q?theme=20setting=20features=20not=20appearing=20in=20Admin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ghost/admin/app/services/feature.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index 5039ede5d7..96bcde1e6a 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -53,9 +53,9 @@ export default Service.extend({ nightShift: feature('nightShift', {user: true, onChange: '_setAdminTheme'}), launchComplete: feature('launchComplete', {user: true}), multipleProducts: feature('multipleProducts'), - offers: feature('offers', {developer: true}), + offers: feature('offers'), oauthLogin: feature('oauthLogin', {developer: true}), - customThemeSettings: feature('customThemeSettings', {developer: true}), + customThemeSettings: feature('customThemeSettings'), membersActivity: feature('membersActivity', {developer: true}), _user: null,