mirror of https://github.com/Fabio286/antares.git
feat: execute selected query
This commit is contained in:
parent
cb038b374a
commit
78902639eb
|
@ -294,6 +294,10 @@ watch(selectedSchema, () => {
|
|||
const runQuery = async (query: string) => {
|
||||
if (!query || isQuering.value) return;
|
||||
isQuering.value = true;
|
||||
|
||||
const selectedQuery = queryEditor.value.editor.getSelectedText();
|
||||
if (selectedQuery) query = selectedQuery;
|
||||
|
||||
clearTabData();
|
||||
queryTable.value.resetSort();
|
||||
|
||||
|
|
Loading…
Reference in New Issue