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

fix: disable cell editor for not editable results

This commit is contained in:
2020-10-10 16:54:00 +02:00
parent d560c384f5
commit b7c779eef6
4 changed files with 11 additions and 5 deletions

View File

@ -212,7 +212,7 @@ export default {
},
getSchema (index) {
if (this.resultsWithRows[index] && this.resultsWithRows[index].fields && this.resultsWithRows[index].fields.length)
return this.resultsWithRows[index].fields[0].db;
return this.resultsWithRows[index].fields[0].schema;
return this.workspaceSchema;
},
getPrimaryValue (row) {