Skip to content
Snippets Groups Projects
Verified Commit 6f4b57e8 authored by Sean King's avatar Sean King
Browse files

Use a better way to clone the original status

parent 8c7f4ab4
No related branches found
No related tags found
2 merge requests!1711Update stable - 2.5.0 release,!1537Add edit status functionality
......@@ -88,8 +88,7 @@ const ExtraButtons = {
}))
},
showStatusHistory () {
let originalStatus = {}
Object.assign(originalStatus, this.status)
let originalStatus = { ...this.status }
delete originalStatus.attachments
delete originalStatus.created_at
delete originalStatus.emojis
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment