mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
list:moved -> list:next
This commit is contained in:
@@ -198,9 +198,9 @@ class MarkdownNoteDetail extends React.Component {
|
|||||||
noteKey: data.noteKey
|
noteKey: data.noteKey
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
ee.once('list:moved', dispatchHandler)
|
ee.once('list:next', dispatchHandler)
|
||||||
})
|
})
|
||||||
.then(() => ee.emit('list:moved'))
|
.then(() => ee.emit('list:next'))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (confirmDeletion()) {
|
if (confirmDeletion()) {
|
||||||
|
|||||||
@@ -191,9 +191,9 @@ class SnippetNoteDetail extends React.Component {
|
|||||||
noteKey: data.noteKey
|
noteKey: data.noteKey
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
ee.once('list:moved', dispatchHandler)
|
ee.once('list:next', dispatchHandler)
|
||||||
})
|
})
|
||||||
.then(() => ee.emit('list:moved'))
|
.then(() => ee.emit('list:next'))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (confirmDeletion()) {
|
if (confirmDeletion()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user