Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2019-07-04 23:30:20 +05:30
parent 1dd1b9716d
commit 1ff74e939b
1 changed files with 3 additions and 0 deletions

View File

@ -252,6 +252,9 @@ export default {
return 0
})
}
if (!this.columnKeys.includes('name')) {
this.columnKeys = ['name', ...this.columnKeys]
}
for (const key of this.columnKeys) {
this.columns.push({
title: key,