From 2f07af05cb8c3701a6a9885bd71b225edb13120c Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 21 Nov 2023 11:10:28 +0000 Subject: [PATCH] Wired up tkReminders flag in Admin+editor (#19074) refs https://github.com/TryGhost/Ghost/pull/19057 - the flag and toggle UI had been added but we were missing the final part of wiring up the feature in Admin and passthrough to the editor --- ghost/admin/app/components/koenig-lexical-editor.js | 3 ++- ghost/admin/app/services/feature.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js index b429dbd161..9303e6b24c 100644 --- a/ghost/admin/app/components/koenig-lexical-editor.js +++ b/ghost/admin/app/components/koenig-lexical-editor.js @@ -293,7 +293,8 @@ export default class KoenigLexicalEditor extends Component { feature: { collectionsCard: this.feature.get('collectionsCard'), collections: this.feature.get('collections'), - emojiPicker: this.feature.get('editorEmojiPicker') + emojiPicker: this.feature.get('editorEmojiPicker'), + tkReminders: this.feature.get('tkReminders') }, depreciated: { headerV1: true // if false, shows header v1 in the menu diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index 1c4f42baa4..97397299d9 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -80,6 +80,7 @@ export default class FeatureService extends Service { @feature('editorEmojiPicker') editorEmojiPicker; @feature('filterEmailDisabled') filterEmailDisabled; @feature('adminXDemo') adminXDemo; + @feature('tkReminders') tkReminders; _user = null;