[RN] Prevent a possible TypeError

This commit is contained in:
paweldomas
2017-09-18 09:48:53 -05:00
committed by Lyubo Marinov
parent d0476991a6
commit 70fc727b92
@@ -42,7 +42,9 @@ export default class OverlayFrame extends Component {
*
* @type {boolean}
*/
filmstripOnly: interfaceConfig.filmStripOnly
filmstripOnly:
typeof interfaceConfig !== 'undefined'
&& interfaceConfig.filmStripOnly
};
}