From 91c69428ed0dc2dd26b00c6dd5a6684f25515a34 Mon Sep 17 00:00:00 2001 From: Abin Mn Date: Tue, 26 Oct 2021 21:18:20 +0530 Subject: Cleanup/remove feature toggle for todo, workspace, service proxy (#2134) * Remove DEFAULT_FEATURES_CONFIG from config * Remove static controller Co-authored-by: Madhuri B --- src/components/layout/Sidebar.js | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) (limited to 'src/components/layout/Sidebar.js') diff --git a/src/components/layout/Sidebar.js b/src/components/layout/Sidebar.js index 2bae57648..18492be80 100644 --- a/src/components/layout/Sidebar.js +++ b/src/components/layout/Sidebar.js @@ -14,7 +14,6 @@ import { addNewServiceShortcutKey, muteFerdiShortcutKey, } from '../../environment'; -import { workspaceStore } from '../../features/workspaces'; import { todosStore } from '../../features/todos'; import { todoActions } from '../../features/todos/actions'; import AppStore from '../../stores/AppStore'; @@ -160,8 +159,7 @@ class Sidebar extends Component { ) : null} - {todosStore.isFeatureEnabled && - todosStore.isFeatureEnabledByUser ? ( + {todosStore.isFeatureEnabledByUser ? ( ) : null} - {workspaceStore.isFeatureEnabled ? ( - - ) : null} +