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:
parent
129ac1829d
commit
a996375b88
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user