|
@@ -98,11 +98,20 @@ class WelcomePage extends AbstractWelcomePage {
|
98
|
98
|
* @returns {ReactElement}
|
99
|
99
|
*/
|
100
|
100
|
render() {
|
|
101
|
+ // We want to have the welcome page support the reduced UI layout,
|
|
102
|
+ // but we ran into serious issues enabling it so we disable it
|
|
103
|
+ // until we have a proper fix in place. We leave the code here though, because
|
|
104
|
+ // this part should be fine when the bug is fixed.
|
|
105
|
+ //
|
|
106
|
+ // NOTE: when re-enabling, don't forget to uncomment the respective _mapStateToProps line too
|
|
107
|
+
|
|
108
|
+ /*
|
101
|
109
|
const { _reducedUI } = this.props;
|
102
|
110
|
|
103
|
111
|
if (_reducedUI) {
|
104
|
112
|
return this._renderReducedUI();
|
105
|
113
|
}
|
|
114
|
+ */
|
106
|
115
|
|
107
|
116
|
return this._renderFullUI();
|
108
|
117
|
}
|
|
@@ -316,12 +325,11 @@ class WelcomePage extends AbstractWelcomePage {
|
316
|
325
|
* @returns {Object}
|
317
|
326
|
*/
|
318
|
327
|
function _mapStateToProps(state) {
|
319
|
|
- const { reducedUI } = state['features/base/responsive-ui'];
|
320
|
|
-
|
321
|
328
|
return {
|
322
|
329
|
..._abstractMapStateToProps(state),
|
323
|
|
- _headerStyles: ColorSchemeRegistry.get(state, 'Header'),
|
324
|
|
- _reducedUI: reducedUI
|
|
330
|
+ _headerStyles: ColorSchemeRegistry.get(state, 'Header')
|
|
331
|
+
|
|
332
|
+ // _reducedUI: state['features/base/responsive-ui'].reducedUI
|
325
|
333
|
};
|
326
|
334
|
}
|
327
|
335
|
|