mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
5415fb6e01
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 |
||
---|---|---|
.. | ||
preview | ||
publish-flow | ||
preview.hbs | ||
preview.js | ||
publish-flow.hbs | ||
publish-flow.js | ||
update-flow.hbs | ||
update-flow.js |