post editing #57

Closed
Ghost wants to merge 23 commits from (deleted):feat/editing into develop
Showing only changes of commit a25d7fa276 - Show all commits

View file

@ -88,8 +88,7 @@ const ExtraButtons = {
})) }))
}, },
showStatusHistory () { showStatusHistory () {
let originalStatus = {} let originalStatus = { ...this.status }
Object.assign(originalStatus, this.status)
delete originalStatus.attachments delete originalStatus.attachments
delete originalStatus.created_at delete originalStatus.created_at
delete originalStatus.emojis delete originalStatus.emojis