mirror of
https://github.com/Fabio286/antares.git
synced 2025-03-04 19:37:51 +01:00
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…
x
Reference in New Issue
Block a user