This commit is contained in:
@@ -144,7 +144,9 @@
|
||||
// Update storage stats
|
||||
document.getElementById('pool-count').textContent = data.storage.pool_count || 0;
|
||||
document.getElementById('total-capacity').textContent = formatBytes(data.storage.total_capacity || 0);
|
||||
document.getElementById('smb-shares').textContent = (data.services.smb_shares || 0) + ' / ' + (data.services.nfs_exports || 0);
|
||||
// Display total shares (SMB + NFS)
|
||||
const totalShares = (data.services.smb_shares || 0) + (data.services.nfs_exports || 0);
|
||||
document.getElementById('smb-shares').textContent = totalShares;
|
||||
document.getElementById('iscsi-targets').textContent = data.services.iscsi_targets || 0;
|
||||
|
||||
// Update service status
|
||||
|
||||
Reference in New Issue
Block a user