diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-04-18 18:33:50 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-04-18 18:33:50 +0900 |
| commit | 3b6dbd6dc3ec27d95d303bf43cb18f1780d47678 (patch) | |
| tree | 8ca6fdf4149eed05da29d99142f8f1bcbeff310f /src/client | |
| parent | Resolve #6274 (diff) | |
| parent | TLにNote追加時にdeepcopyする (#6275) (diff) | |
| download | misskey-3b6dbd6dc3ec27d95d303bf43cb18f1780d47678.tar.gz misskey-3b6dbd6dc3ec27d95d303bf43cb18f1780d47678.tar.bz2 misskey-3b6dbd6dc3ec27d95d303bf43cb18f1780d47678.zip | |
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/components/timeline.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/components/timeline.vue b/src/client/components/timeline.vue index 234ed6b07c..bd1901a624 100644 --- a/src/client/components/timeline.vue +++ b/src/client/components/timeline.vue @@ -50,7 +50,8 @@ export default Vue.extend({ }); const prepend = note => { - (this.$refs.tl as any).prepend(note); + const _note = JSON.parse(JSON.stringify(note)); // deepcopy + (this.$refs.tl as any).prepend(_note); if (this.sound) { this.$root.sound(note.userId === this.$store.state.i.id ? 'noteMy' : 'note'); |