mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-12 23:37:00 +08:00
CB-2112 fix(plugin-sql-editor): Format only current script
This commit is contained in:
@@ -203,7 +203,7 @@ export function useSqlEditor(state: ISqlEditorTabState): ISQLEditorData {
|
||||
}
|
||||
|
||||
const query = this.value;
|
||||
const script = this.getExecutingQuery(true);
|
||||
const script = this.getExecutingQuery(false);
|
||||
|
||||
if (!script) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user