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

pull/3489/head
Laurent Cozic 2020-07-12 17:27:56 +01:00
parent f1b2b7b86b
commit e3aaee738a
1 changed files with 8 additions and 0 deletions

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,
};
},
}; };
}; };