mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix restore items from trash
This commit is contained in:
@@ -143,9 +143,9 @@ export const SelectionHeader = () => {
|
||||
selectedItemsList.forEach((item) => {
|
||||
noteIds.push(item.id);
|
||||
});
|
||||
|
||||
await db.trash.restore(...noteIds);
|
||||
|
||||
dispatch({type: Actions.NOTEBOOKS});
|
||||
dispatch({type: Actions.NOTES});
|
||||
dispatch({type: Actions.TRASH});
|
||||
dispatch({type: Actions.SELECTION_MODE, enabled: false});
|
||||
dispatch({type: Actions.CLEAR_SELECTION});
|
||||
|
||||
Reference in New Issue
Block a user