mirror of https://github.com/apache/cloudstack.git
ui: fix columns for exportacls csv (#9118)
Fixes #8862 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
283a4853aa
commit
c07953cc93
|
|
@ -321,6 +321,10 @@ export default {
|
|||
}
|
||||
|
||||
keys = Object.keys(data[0])
|
||||
for (var i = 1; i < data.length; ++i) {
|
||||
const rowKeys = Object.keys(data[i])
|
||||
keys = keys.concat(rowKeys.filter(k => !keys.includes(k)))
|
||||
}
|
||||
|
||||
result = ''
|
||||
result += keys.join(columnDelimiter)
|
||||
|
|
|
|||
Loading…
Reference in New Issue