1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-30 08:26:59 +02:00

Desktop: Fixes #3482: Fixed regression when moving note to notebook from menu

This commit is contained in:
Laurent Cozic 2020-07-12 17:27:56 +01:00
parent f1b2b7b86b
commit e3aaee738a

View File

@ -42,5 +42,13 @@ export const runtime = (comp:any):CommandRuntime => {
},
});
},
isEnabled: (props:any):boolean => {
return !!props.noteIds.length;
},
mapStateToProps: (state:any):any => {
return {
noteIds: state.selectedNoteIds,
};
},
};
};