1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix(UI): multiple temp tabs opened switching to tables from other elements

This commit is contained in:
2021-08-11 18:04:14 +02:00
parent 622b519cbb
commit b35fc5b78b
2 changed files with 12 additions and 65 deletions

View File

@ -322,7 +322,14 @@ export default {
}
},
selectTable ({ schema, table }) {
this.newTab({ uid: this.connection.uid, elementName: table.name, schema: this.database.name, type: 'temp-data', elementType: table.type });
this.newTab({
uid: this.connection.uid,
elementName: table.name,
schema: this.database.name,
type: 'temp-data',
elementType: table.type
});
this.setBreadcrumbs({ schema, [table.type]: table.name });
},
selectMisc ({ schema, misc, type }) {