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

Exposed feature image meta data to post revision modal template

This will allow Sanne to wire it up to the output
This commit is contained in:
Fabien "egg" O'Carroll 2023-04-21 16:01:24 +01:00
parent 050ff1b28a
commit f92def8dde

View file

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