mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36: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:
parent
050ff1b28a
commit
f92def8dde
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ export default class ModalPostHistory extends Component {
|
||||||
createdAt: revision.get('createdAt'),
|
createdAt: revision.get('createdAt'),
|
||||||
title: revision.get('title'),
|
title: revision.get('title'),
|
||||||
feature_image: revision.get('featureImage'),
|
feature_image: revision.get('featureImage'),
|
||||||
|
feature_image_alt: revision.get('featureImageAlt'),
|
||||||
|
feature_image_caption: revision.get('featureImageCaption'),
|
||||||
author: {
|
author: {
|
||||||
name: revision.get('author.name') || 'Deleted staff user'
|
name: revision.get('author.name') || 'Deleted staff user'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue