mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 06:06:43 -06:00
fix
This commit is contained in:
parent
f7b30b4f08
commit
8c446c0e78
1 changed files with 8 additions and 0 deletions
|
@ -76,6 +76,14 @@ export function useNoteCapture(props: {
|
|||
}
|
||||
|
||||
case 'updated': {
|
||||
note.value.history = [
|
||||
...note.value.history,
|
||||
{
|
||||
createdAt: note.value.updatedAt,
|
||||
cw: note.value.cw,
|
||||
text: note.value.text,
|
||||
},
|
||||
];
|
||||
note.value.updatedAt = body.updatedAt;
|
||||
note.value.cw = body.cw;
|
||||
note.value.text = body.text;
|
||||
|
|
Loading…
Reference in a new issue