[RN] Prevent a possible TypeError
This commit is contained in:
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
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue