Match dashboard with correctly labeled reference-capacity metric

This commit is contained in:
OpenGenesis (MPL 2.0) committed 2026-11-16 17:41:49 +01:00
1 parent d0f3f13e5c
commit d176fc534f
1 file changed
+1 -1
@@ -87,7 +87,7 @@ if(!response.ok||data.status!=='online')throw new Error('Keine aktuellen Messwer
$('status').textContent='Online';
$('capacity').textContent=bytes(data.storage.capacity_bytes);
$('used').textContent=bytes(data.storage.used_bytes);
$('free').textContent=bytes(data.storage.free_bytes);
$('free').textContent=bytes(data.storage.remaining_reference_bytes);
$('objects').textContent=new Intl.NumberFormat('de-DE').format(data.objects.total);
const pct=Math.min(100,Math.max(0,data.storage.usage_percent));
$('percent').textContent=new Intl.NumberFormat('de-DE',{maximumFractionDigits:2}).format(pct)+' %';