Add setting to disable TagPanel
This commit is contained in:
parent
56ca1bc7ee
commit
174061db57
2 changed files with 8 additions and 1 deletions
|
@ -194,7 +194,9 @@ var LeftPanel = React.createClass({
|
|||
}
|
||||
);
|
||||
|
||||
const tagPanelEnabled = SettingsStore.isFeatureEnabled("feature_tag_panel");
|
||||
const tagPanelEnabled =
|
||||
SettingsStore.isFeatureEnabled("feature_tag_panel") &&
|
||||
!SettingsStore.getValue("TagPanel.disableTagPanel");
|
||||
const tagPanel = tagPanelEnabled ? <TagPanel /> : <div />;
|
||||
|
||||
const containerClasses = classNames(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue