From 03c491416e724c30a099635b19c2cfc3cdb7ecaf Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 12 Feb 2019 11:41:24 +0100 Subject: [PATCH] put breadcrumbs behind feature flag --- src/components/structures/LeftPanel.js | 7 ++++++- src/i18n/strings/en_EN.json | 1 + src/settings/Settings.js | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/components/structures/LeftPanel.js b/src/components/structures/LeftPanel.js index 55b8c34ae6..000195d349 100644 --- a/src/components/structures/LeftPanel.js +++ b/src/components/structures/LeftPanel.js @@ -216,12 +216,17 @@ const LeftPanel = React.createClass({ onCleared={ this.onSearchCleared } collapsed={this.props.collapsed} />); + let breadcrumbs; + if (SettingsStore.isFeatureEnabled("feature_room_breadcrumbs")) { + breadcrumbs = (); + } + return (
{ tagPanelContainer }