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

fix: query result table header didn't show just selected fields

This commit is contained in:
2020-08-13 13:24:03 +02:00
parent eb348b3095
commit 7bc10092fe
2 changed files with 7 additions and 3 deletions

View File

@ -97,7 +97,7 @@ export default {
},
computed: {
primaryField () {
return this.fields.filter(field => field.key === 'pri')[0] || false;
return this.fields.filter(field => ['pri', 'uni'].includes(field.key))[0] || false;
},
sortedResults () {
if (this.currentSort) {