From 6c14e1ea711e55942a4d73027668f771c2fa56fc Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 19 Oct 2021 19:25:23 +0100 Subject: [PATCH] Removed `matchHelper` labs flag toggle refs https://github.com/TryGhost/Ghost/commit/981f11da9510509c3a861a812e132245be6eb253 - `{{match}}` is GA now and the flag doesn't exist server-side so it was always auto-toggling off in Admin --- ghost/admin/app/services/feature.js | 3 +-- ghost/admin/app/templates/settings/labs.hbs | 13 ------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index 7be9545adb..5039ede5d7 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -52,11 +52,10 @@ export default Service.extend({ emailAnalytics: feature('emailAnalytics'), nightShift: feature('nightShift', {user: true, onChange: '_setAdminTheme'}), launchComplete: feature('launchComplete', {user: true}), - matchHelper: feature('matchHelper'), multipleProducts: feature('multipleProducts'), offers: feature('offers', {developer: true}), oauthLogin: feature('oauthLogin', {developer: true}), - customThemeSettings: feature('customThemeSettings', {developer: true, requires: ['matchHelper']}), + customThemeSettings: feature('customThemeSettings', {developer: true}), membersActivity: feature('membersActivity', {developer: true}), _user: null, diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index 92baecafaf..01361a0ad9 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -248,19 +248,6 @@ {{/if}} -
-
-
-

Match helper

-

- Experimental \{{match}} helper for themes -

-
-
- -
-
-