From 6822c6db242601ad555959befad10cde72965943 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Mon, 18 Sep 2023 13:35:51 +0100 Subject: [PATCH] Added "Subscribe" button to Ghost-site previews refs https://github.com/TryGhost/Product/issues/3857 --- .../recommendations/RecommendationReasonForm.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/apps/admin-x-settings/src/components/settings/site/recommendations/RecommendationReasonForm.tsx b/apps/admin-x-settings/src/components/settings/site/recommendations/RecommendationReasonForm.tsx index 96f12840d0..490a73132a 100644 --- a/apps/admin-x-settings/src/components/settings/site/recommendations/RecommendationReasonForm.tsx +++ b/apps/admin-x-settings/src/components/settings/site/recommendations/RecommendationReasonForm.tsx @@ -35,12 +35,15 @@ const RecommendationReasonForm: React.FC Preview - -
- - {formState.title} + +
+
+ + {formState.title} +
+ {formState.reason && {formState.reason}}
- {formState.reason} + {formState.one_click_subscribe && Subscribe}
{formState.one_click_subscribe && This is a Ghost site, so your readers can subscribe with just one click}