From d78610cd33f5755cdfce9d896208d58754174cf6 Mon Sep 17 00:00:00 2001 From: Victor Meng Date: Wed, 14 Sep 2022 18:27:09 -0700 Subject: [PATCH] Remove feature flag --- src/Explorer/Explorer.tsx | 2 +- src/Explorer/Menus/CommandBar/CommandBarComponentAdapter.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Explorer/Explorer.tsx b/src/Explorer/Explorer.tsx index f4fb4400c..bb157d703 100644 --- a/src/Explorer/Explorer.tsx +++ b/src/Explorer/Explorer.tsx @@ -185,7 +185,7 @@ export default class Explorer { useNotebook.getState().setNotebookBasePath(userContext.features.notebookBasePath); } - if (!userContext.features.enablePGQuickstart || userContext.apiType !== "Postgres") { + if (userContext.apiType !== "Postgres") { this.refreshExplorer(); } } diff --git a/src/Explorer/Menus/CommandBar/CommandBarComponentAdapter.tsx b/src/Explorer/Menus/CommandBar/CommandBarComponentAdapter.tsx index 755dc16e0..9b69e2a9b 100644 --- a/src/Explorer/Menus/CommandBar/CommandBarComponentAdapter.tsx +++ b/src/Explorer/Menus/CommandBar/CommandBarComponentAdapter.tsx @@ -34,7 +34,7 @@ export const CommandBar: React.FC = ({ container }: Props) => { const buttons = useCommandBar((state) => state.contextButtons); const backgroundColor = StyleConstants.BaseLight; - if (userContext.features.enablePGQuickstart && userContext.apiType === "Postgres") { + if (userContext.apiType === "Postgres") { const buttons = CommandBarComponentButtonFactory.createPostgreButtons(container); return (