Skip to content

Commit c07953c

Browse files
authored
ui: fix columns for exportacls csv (apache#9118)
Fixes apache#8862 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 283a485 commit c07953c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/src/views/network/AclListRulesTab.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,10 @@ export default {
321321
}
322322
323323
keys = Object.keys(data[0])
324+
for (var i = 1; i < data.length; ++i) {
325+
const rowKeys = Object.keys(data[i])
326+
keys = keys.concat(rowKeys.filter(k => !keys.includes(k)))
327+
}
324328
325329
result = ''
326330
result += keys.join(columnDelimiter)

0 commit comments

Comments
 (0)