aboutsummaryrefslogtreecommitdiff
path: root/weed/admin/static/js/admin.js
diff options
context:
space:
mode:
Diffstat (limited to 'weed/admin/static/js/admin.js')
-rw-r--r--weed/admin/static/js/admin.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/weed/admin/static/js/admin.js b/weed/admin/static/js/admin.js
index cefba4c9a..dfad11a88 100644
--- a/weed/admin/static/js/admin.js
+++ b/weed/admin/static/js/admin.js
@@ -698,14 +698,14 @@ function exportCollections() {
return;
}
- const headers = ['Collection Name', 'Data Center', 'Replication', 'Volume Count', 'TTL', 'Disk Type', 'Status'];
+ const headers = ['Collection Name', 'Data Center', 'Replication', 'Volumes', 'Files', 'Size', 'TTL', 'Disk Types', 'Status'];
const rows = [];
// Get table rows
const tableRows = table.querySelectorAll('tbody tr');
tableRows.forEach(row => {
const cells = row.querySelectorAll('td');
- if (cells.length >= 7) {
+ if (cells.length >= 9) {
rows.push([
cells[0].textContent.trim(),
cells[1].textContent.trim(),
@@ -713,7 +713,9 @@ function exportCollections() {
cells[3].textContent.trim(),
cells[4].textContent.trim(),
cells[5].textContent.trim(),
- cells[6].textContent.trim()
+ cells[6].textContent.trim(),
+ cells[7].textContent.trim(),
+ cells[8].textContent.trim()
]);
}
});