Replace labs flag with a real setting

This commit is contained in:
Travis Ralston 2020-07-07 13:56:46 -06:00
parent a49b5109c6
commit 8ef4b1b2e7
5 changed files with 7 additions and 7 deletions

View file

@ -667,8 +667,7 @@ class LoggedInView extends React.Component<IProps, IState> {
disabled={this.props.leftDisabled}
/>
);
if (SettingsStore.isFeatureEnabled("feature_new_room_list")) {
// TODO: Supply props like collapsed and disabled to LeftPanel2
if (SettingsStore.getValue("feature_new_room_list")) {
leftPanel = (
<LeftPanel2
isMinimized={this.props.collapseLhs || false}