mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-24 03:11:32 +00:00
Update QueryTabComponent.tsx
This commit is contained in:
@@ -212,9 +212,6 @@ class QueryTabComponentImpl extends React.Component<QueryTabComponentImplProps,
|
|||||||
enabled: !!this.state.sqlQueryEditorContent && this.state.sqlQueryEditorContent.length > 0,
|
enabled: !!this.state.sqlQueryEditorContent && this.state.sqlQueryEditorContent.length > 0,
|
||||||
visible: true,
|
visible: true,
|
||||||
};
|
};
|
||||||
// const query=this.state.sqlQueryEditorContent;
|
|
||||||
// const db = this.props.collection.databaseId;
|
|
||||||
// const container = this.props.collection.id();
|
|
||||||
|
|
||||||
const isSaveQueryBtnEnabled = userContext.apiType === "SQL" || userContext.apiType === "Gremlin";
|
const isSaveQueryBtnEnabled = userContext.apiType === "SQL" || userContext.apiType === "Gremlin";
|
||||||
this.saveQueryButton = {
|
this.saveQueryButton = {
|
||||||
|
|||||||
Reference in New Issue
Block a user