ui: fix columns for exportacls csv (#9118)

Fixes #8862 

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2024-05-28 12:10:26 +05:30 committed by GitHub
parent 283a4853aa
commit c07953cc93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)