mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-18 11:32:56 +09:00
TLにNote追加時にdeepcopyする (#6275)
This commit is contained in:
parent
ced63d4552
commit
19e6388576
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user