mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Independent technology for modern publishing, memberships, subscriptions and newsletters.
bloggingcmscreator-economyghosthacktoberfestheadless-cmsjamstackjavascriptjournalismnodejspublishingweb-application
refs https://github.com/TryGhost/Team/issues/1621 reqs https://github.com/TryGhost/Ghost/pull/14820 We want to allow previewing emails based on the newsletter selected in the publish flow. - passed the selected newsletter from `<PublishManagement>` through to the preview modal then through to the email preview component - removed tracked `newsletter` property and fetching of the default newsletter in the email preview component that was in place to allow `senderName` and `senderEmail` to be used in the component - added `newsletter` getter that uses the `post.newsletter` or the passed in selected newsletter - updated the email preview fetching to pass `?newsletter=slug` so the email is rendered with the correct newlsetter |
||
---|---|---|
ghost/admin |