Use a better way to clone the original status
This commit is contained in:
parent
bd5e868483
commit
a1d6758caa
1 changed files with 1 additions and 2 deletions
|
@ -118,8 +118,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
|
||||
|
|
Loading…
Reference in a new issue