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

refactor: adaptation of row deletion and modification functions due last commits

This commit is contained in:
2020-09-06 10:35:32 +02:00
parent 023c6a633a
commit 1d87ca959f
3 changed files with 26 additions and 7 deletions

View File

@ -80,8 +80,8 @@ export default {
return this.getWorkspace(this.connection.uid);
},
schema () {
if ('fields' in this.results && this.results.fields.length)
return this.results.fields[0].db;
if ('fields' in this.results && this.results[this.selectedResultsset].fields.length)
return this.results[this.selectedResultsset].fields[0].db;
return this.workspace.breadcrumbs.schema;
}
},