Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Commit

Permalink
Fix Object.assign incorrect params
Browse files Browse the repository at this point in the history
  • Loading branch information
wuzi committed Sep 17, 2018
1 parent 5bd4d80 commit cb9e9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/LandingPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
},
saveChanges () {
var sounds = this.tableData.map(sound => {
return Object.assign({audio: null}, sound)
return Object.assign({}, sound, {audio: null})
})
localStorage.setItem('sounds', JSON.stringify(sounds))
}
Expand Down

0 comments on commit cb9e9ee

Please sign in to comment.