1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Mobile: Fixes #6898: Fixed crash when trying to move note to notebook

This commit is contained in:
Laurent Cozic 2022-09-30 12:13:29 +01:00
parent 129ac1829d
commit a996375b88

View File

@ -122,7 +122,7 @@ class Dropdown extends Component<DropdownProps, DropdownState> {
};
const itemRenderer = (item: DropdownListItem) => {
const key = item.value.toString();
const key = item.value ? item.value.toString() : '__null'; // The top item ("Move item to notebook...") has a null value.
return (
<TouchableOpacity
style={itemWrapperStyle}