From f92def8dde929fe3cb681458fcf213d5e581091e Mon Sep 17 00:00:00 2001 From: "Fabien \"egg\" O'Carroll" Date: Fri, 21 Apr 2023 16:01:24 +0100 Subject: [PATCH] Exposed feature image meta data to post revision modal template This will allow Sanne to wire it up to the output --- ghost/admin/app/components/modal-post-history.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghost/admin/app/components/modal-post-history.js b/ghost/admin/app/components/modal-post-history.js index ccfbd7c273..66d221895b 100644 --- a/ghost/admin/app/components/modal-post-history.js +++ b/ghost/admin/app/components/modal-post-history.js @@ -60,6 +60,8 @@ export default class ModalPostHistory extends Component { createdAt: revision.get('createdAt'), title: revision.get('title'), feature_image: revision.get('featureImage'), + feature_image_alt: revision.get('featureImageAlt'), + feature_image_caption: revision.get('featureImageCaption'), author: { name: revision.get('author.name') || 'Deleted staff user' },