diff options
| author | chrislu <chris.lu@gmail.com> | 2025-07-01 21:01:49 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-07-01 21:01:49 -0700 |
| commit | 471910736d34ab0b80a7ec645e7eccc0f7e4a962 (patch) | |
| tree | c1dbf0051dcd0129f36e7c9b13d79efefe6ea1e9 /weed/admin/static/js/admin.js | |
| parent | 757c436a827ae571b9a5263b3e35a167d0d39d41 (diff) | |
| download | seaweedfs-471910736d34ab0b80a7ec645e7eccc0f7e4a962.tar.xz seaweedfs-471910736d34ab0b80a7ec645e7eccc0f7e4a962.zip | |
remove ttl from collections
Diffstat (limited to 'weed/admin/static/js/admin.js')
| -rw-r--r-- | weed/admin/static/js/admin.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/weed/admin/static/js/admin.js b/weed/admin/static/js/admin.js index dfad11a88..c46c389ea 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', 'Volumes', 'Files', 'Size', 'TTL', 'Disk Types', 'Status']; + const headers = ['Collection Name', 'Data Center', 'Replication', 'Volumes', 'Files', 'Size', '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 >= 9) { + if (cells.length >= 8) { rows.push([ cells[0].textContent.trim(), cells[1].textContent.trim(), @@ -713,9 +713,8 @@ function exportCollections() { cells[3].textContent.trim(), cells[4].textContent.trim(), cells[5].textContent.trim(), - cells[6].textContent.trim(), - cells[7].textContent.trim(), - cells[8].textContent.trim() + formatDiskTypes(cells[6].textContent.trim()), + cells[7].textContent.trim() ]); } }); @@ -897,7 +896,6 @@ async function handleCreateCollection(event) { const collectionData = { name: formData.get('name'), replication: formData.get('replication'), - ttl: formData.get('ttl'), diskType: formData.get('diskType') }; |
