We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d27da6 + 4d30a29 commit 03d342bCopy full SHA for 03d342b
app/javascript/components/dropdown/dropdown.js
@@ -19,8 +19,8 @@ const mapStateToProps = (
19
const activeLabel = (activeValue && activeValue.label) || noSelectedValue;
20
21
return {
22
- modalOpen: modalMeta.open,
23
- modalClosing: modalMeta.closing,
+ modalOpen: modalMeta ? modalMeta.open : false,
+ modalClosing: modalMeta ? modalMeta.closing : false,
24
isDeviceTouch: isTouch(),
25
activeValue,
26
activeLabel
0 commit comments