mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-19 08:08:41 -06:00
fix: null history
This commit is contained in:
parent
3e99dab827
commit
2f7d818c54
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ export function useNoteCapture(props: {
|
||||||
|
|
||||||
case 'updated': {
|
case 'updated': {
|
||||||
note.value.history = [
|
note.value.history = [
|
||||||
...note.value.history,
|
...(note.value.history || []),
|
||||||
{
|
{
|
||||||
createdAt: note.value.updatedAt,
|
createdAt: note.value.updatedAt,
|
||||||
cw: note.value.cw,
|
cw: note.value.cw,
|
||||||
|
|
Loading…
Reference in a new issue