Skip to content

Commit

Permalink
fix-delete-task-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzm0809 committed Dec 22, 2023
1 parent 7b0674a commit fd88de5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions dinky-web/src/pages/DataStudio/HeaderContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,6 @@ const HeaderContainer = (props: connect) => {
// @ts-ignore
const editor = currentTab.monacoInstance.editor.getEditors().find((x:any)=>x["id"]===currentData.id);

let selectsql = null;
if (currentTab.editorInstance) {
// @ts-ignore
selectsql = currentTab.editorInstance
.getModel()
// @ts-ignore
.getValueInRange(currentTab.editorInstance.getSelection());
//
let selectSql = '';
if (editor) {
selectSql = editor.getModel().getValueInRange(editor.getSelection());
Expand Down

0 comments on commit fd88de5

Please sign in to comment.