|
|
@@ -74,5 +74,11 @@ export function shouldDisplayTileView(state: Object = {}) {
|
|
74
|
74
|
state['features/video-layout']
|
|
75
|
75
|
&& state['features/video-layout'].tileViewEnabled
|
|
76
|
76
|
&& !state['features/etherpad'].editing
|
|
|
77
|
+
|
|
|
78
|
+ // Truthy check is needed for interfaceConfig to prevent errors on
|
|
|
79
|
+ // mobile which does not have interfaceConfig. On web, tile view
|
|
|
80
|
+ // should never be enabled for filmstrip only mode.
|
|
|
81
|
+ && (typeof interfaceConfig === 'undefined'
|
|
|
82
|
+ || !interfaceConfig.filmStripOnly)
|
|
77
|
83
|
);
|
|
78
|
84
|
}
|