mirror of https://github.com/laurent22/joplin.git
Mobile: Fixes #6898: Fixed crash when trying to move note to notebook
parent
129ac1829d
commit
a996375b88
|
@ -122,7 +122,7 @@ class Dropdown extends Component<DropdownProps, DropdownState> {
|
||||||
};
|
};
|
||||||
|
|
||||||
const itemRenderer = (item: DropdownListItem) => {
|
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 (
|
return (
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
style={itemWrapperStyle}
|
style={itemWrapperStyle}
|
||||||
|
|
Loading…
Reference in New Issue