mirror of https://github.com/laurent22/joplin.git
Desktop: Fixes #3482: Fixed regression when moving note to notebook from menu
parent
f1b2b7b86b
commit
e3aaee738a
|
@ -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,
|
||||||
|
};
|
||||||
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue