diff --git a/src/components/structures/LeftPanel.js b/src/components/structures/LeftPanel.js
index 0d9ab641c7..cf10166982 100644
--- a/src/components/structures/LeftPanel.js
+++ b/src/components/structures/LeftPanel.js
@@ -238,15 +238,21 @@ var LeftPanel = React.createClass({
}
);
+ const tagPanelEnabled = SettingsStore.isFeatureEnabled("feature_tag_panel");
+ const tagPanel = tagPanelEnabled ? :
;
+
const containerClasses = classNames(
"mx_LeftPanel_container",
- { "mx_LeftPanel_container_collapsed": this.props.collapsed },
+ {
+ "mx_LeftPanel_container_collapsed": this.props.collapsed,
+ "mx_LeftPanel_container_hasTagPanel": tagPanelEnabled,
+ },
);
return (
- { SettingsStore.isFeatureEnabled("feature_tag_panel") ?
:
}
+ { tagPanel }