diff options
Diffstat (limited to 'weed/admin/static/js/admin.js')
| -rw-r--r-- | weed/admin/static/js/admin.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/weed/admin/static/js/admin.js b/weed/admin/static/js/admin.js index 504e02785..93ae40786 100644 --- a/weed/admin/static/js/admin.js +++ b/weed/admin/static/js/admin.js @@ -698,22 +698,20 @@ function exportCollections() { return; } - const headers = ['Collection Name', 'Data Center', 'Volumes', 'Files', 'Size', 'Disk Types', 'Status']; + const headers = ['Collection Name', 'Volumes', 'Files', 'Size', 'Disk Types']; 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 >= 5) { rows.push([ cells[0].textContent.trim(), cells[1].textContent.trim(), cells[2].textContent.trim(), cells[3].textContent.trim(), - cells[4].textContent.trim(), - formatDiskTypes(cells[5].textContent.trim()), - cells[6].textContent.trim() + formatDiskTypes(cells[4].textContent.trim()) ]); } }); |
