mirror of https://github.com/Fabio286/antares.git
fix: prevents query tabs targets previous schema if not in explorebar, closes #236
This commit is contained in:
parent
75aa299f8d
commit
5e4abd3e81
|
@ -302,6 +302,9 @@ export default {
|
|||
this.query = this.tab.content;
|
||||
this.selectedSchema = this.tab.schema || this.breadcrumbsSchema;
|
||||
|
||||
if (!this.databaseSchemas.includes(this.selectedSchema))
|
||||
this.selectedSchema = null;
|
||||
|
||||
window.addEventListener('keydown', this.onKey);
|
||||
},
|
||||
mounted () {
|
||||
|
|
Loading…
Reference in New Issue