0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed email wording showing on update-flow incorrectly

refs 8fb0d6ebb2

- 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
This commit is contained in:
Kevin Ansfield 2022-05-05 16:08:45 +01:00
parent c6fdfab454
commit 03ba0da1a7

View file

@ -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}}