Update QueryTabComponent.tsx

This commit is contained in:
archie-agarwal 2025-06-26 00:08:17 +05:30 committed by GitHub
parent 5ff3c9109c
commit dfc0b5ff99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -212,9 +212,6 @@ class QueryTabComponentImpl extends React.Component<QueryTabComponentImplProps,
enabled: !!this.state.sqlQueryEditorContent && this.state.sqlQueryEditorContent.length > 0,
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";
this.saveQueryButton = {