fixing UI and iscsi sync
Some checks failed
CI / test-build (push) Has been cancelled

This commit is contained in:
2025-12-20 19:16:50 +00:00
parent 2bb892dfdc
commit 6202ef8e83
12 changed files with 1436 additions and 116 deletions

View File

@@ -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