v1.3.0 #35

Merged
josh merged 42 commits from dev into main 2026-03-28 15:31:57 -04:00
Showing only changes of commit 8ead7687e5 - Show all commits

View File

@@ -156,9 +156,10 @@ function fmtHistVal(field, val) {
}
async function renderDetailPage(vmid) {
const [inst, history] = await Promise.all([getInstance(vmid), getInstanceHistory(vmid)]);
const [inst, history, all] = await Promise.all([getInstance(vmid), getInstanceHistory(vmid), getInstances()]);
if (!inst) { navigate('dashboard'); return; }
currentVmid = vmid;
document.getElementById('nav-count').textContent = `${all.length} instance${all.length !== 1 ? 's' : ''}`;
document.getElementById('detail-vmid-crumb').textContent = vmid;
document.getElementById('detail-name').textContent = inst.name;