mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-08 03:57:31 +00:00
Remove feature flag
This commit is contained in:
@@ -185,7 +185,7 @@ export default class Explorer {
|
|||||||
useNotebook.getState().setNotebookBasePath(userContext.features.notebookBasePath);
|
useNotebook.getState().setNotebookBasePath(userContext.features.notebookBasePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!userContext.features.enablePGQuickstart || userContext.apiType !== "Postgres") {
|
if (userContext.apiType !== "Postgres") {
|
||||||
this.refreshExplorer();
|
this.refreshExplorer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export const CommandBar: React.FC<Props> = ({ container }: Props) => {
|
|||||||
const buttons = useCommandBar((state) => state.contextButtons);
|
const buttons = useCommandBar((state) => state.contextButtons);
|
||||||
const backgroundColor = StyleConstants.BaseLight;
|
const backgroundColor = StyleConstants.BaseLight;
|
||||||
|
|
||||||
if (userContext.features.enablePGQuickstart && userContext.apiType === "Postgres") {
|
if (userContext.apiType === "Postgres") {
|
||||||
const buttons = CommandBarComponentButtonFactory.createPostgreButtons(container);
|
const buttons = CommandBarComponentButtonFactory.createPostgreButtons(container);
|
||||||
return (
|
return (
|
||||||
<div className="commandBarContainer">
|
<div className="commandBarContainer">
|
||||||
|
|||||||
Reference in New Issue
Block a user