1
0
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:
Andy Klimczak
2018-01-31 22:17:36 -05:00
parent dc03bb76e6
commit f04ad1e702
2 changed files with 4 additions and 4 deletions

View File

@@ -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()) {

View File

@@ -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()) {