From 03ba0da1a7c41ac3494c7b88b04c9b8e4a1f92da Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 5 May 2022 16:08:45 +0100 Subject: [PATCH] Fixed email wording showing on update-flow incorrectly refs https://github.com/TryGhost/Admin/commit/8fb0d6ebb28e410ecfc301514319827f98971dd6 - logic for showing the "sent to x" wording on the published update flow was incorrect meaning it was showing for published posts/pages when nothing had been emailed --- ghost/admin/app/components/editor-labs/modals/update-flow.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/components/editor-labs/modals/update-flow.hbs b/ghost/admin/app/components/editor-labs/modals/update-flow.hbs index 34bb7bc8ae..1d967cc33a 100644 --- a/ghost/admin/app/components/editor-labs/modals/update-flow.hbs +++ b/ghost/admin/app/components/editor-labs/modals/update-flow.hbs @@ -27,7 +27,7 @@ {{if post.isScheduled "will be" "was"}} - {{#if (or post.isPublished (and post.isScheduled post.emailRecipientFilter (not post.email)))}} + {{#if (or (and post.isPublished post.email) (and post.isScheduled post.emailRecipientFilter (not post.email)))}} {{#if post.emailOnly}} sent to {{else}}