mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
refactor: ts and composition api on more elements
This commit is contained in:
@ -272,7 +272,13 @@ export default {
|
||||
sql = `CALL \`${this.localElement.name}\`(${params.join(',')})`;
|
||||
}
|
||||
|
||||
this.newTab({ uid: this.workspace.uid, content: sql, type: 'query', autorun: true });
|
||||
this.newTab({
|
||||
uid: this.workspace.uid,
|
||||
content: sql,
|
||||
type: 'query',
|
||||
schema: this.selectedSchema,
|
||||
autorun: true
|
||||
});
|
||||
this.closeContext();
|
||||
},
|
||||
async runFunctionCheck () {
|
||||
@ -317,7 +323,13 @@ export default {
|
||||
sql = `SELECT \`${this.localElement.name}\` (${params.join(',')})`;
|
||||
}
|
||||
|
||||
this.newTab({ uid: this.workspace.uid, content: sql, type: 'query', autorun: true });
|
||||
this.newTab({
|
||||
uid: this.workspace.uid,
|
||||
content: sql,
|
||||
type: 'query',
|
||||
schema: this.selectedSchema,
|
||||
autorun: true
|
||||
});
|
||||
this.closeContext();
|
||||
},
|
||||
async toggleTrigger () {
|
||||
|
Reference in New Issue
Block a user