From 8ff94df1c81ea85b3d755b21858f8077a2f0fde1 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Mon, 4 Jul 2022 14:15:53 +0200 Subject: [PATCH] Added comments toggle to labs feature list no issue --- ghost/admin/app/services/feature.js | 1 + ghost/admin/app/templates/settings/labs.hbs | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index a4353dc51a..4d44c528b9 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -59,6 +59,7 @@ export default class FeatureService extends Service { @feature('urlCache') urlCache; @feature('beforeAfterCard') beforeAfterCard; @feature('sodoSearch') sodoSearch; + @feature('comments') comments; _user = null; diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index d510f997b3..c6a82fdbb4 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -226,6 +226,19 @@ +
+
+
+

Comments

+

+ Enable comments +

+
+
+ +
+
+
{{/if}}