${esc(v.name)}${isActive ? ' ● playing here' : ''}
@@ -172,8 +176,11 @@
fetch(`${API}/packs/${dlBtn.dataset.careerDownload}/download`, { method: 'POST' })
.then(refresh);
} else if (delBtn) {
+ // Do NOT null _appliedManifestVenue here: pushCrowdManifest()
+ // clears/replaces the crowd manifest precisely by seeing that the
+ // applied venue is no longer among the installed ones.
fetch(`${API}/packs/${delBtn.dataset.careerDelete}`, { method: 'DELETE' })
- .then(() => { _appliedManifestVenue = null; refresh(); });
+ .then(refresh);
} else if (playBtn) {
try { localStorage.setItem(VENUE_OVERRIDE_KEY, playBtn.dataset.careerPlay); } catch (_) { /* ok */ }
_appliedManifestVenue = null; // force manifest re-push