This is an automated email from the ASF dual-hosted git repository.
shwstppr pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.19 by this push:
new c07953cc93e ui: fix columns for exportacls csv (#9118)
c07953cc93e is described below
commit c07953cc93ead5978b4ac449ebfef408663443b6
Author: Abhishek Kumar <[email protected]>
AuthorDate: Tue May 28 12:10:26 2024 +0530
ui: fix columns for exportacls csv (#9118)
Fixes #8862
Signed-off-by: Abhishek Kumar <[email protected]>
---
ui/src/views/network/AclListRulesTab.vue | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ui/src/views/network/AclListRulesTab.vue
b/ui/src/views/network/AclListRulesTab.vue
index 4207a462982..d3927c3b32d 100644
--- a/ui/src/views/network/AclListRulesTab.vue
+++ b/ui/src/views/network/AclListRulesTab.vue
@@ -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)