Hotfix forks text showing when it shouldn't
All checks were successful
Build & Test / build-run (push) Successful in 40s

This commit is contained in:
CenTdemeern1 2025-02-13 03:27:39 +01:00
parent 969538b8b4
commit 1057bf80dc

View file

@ -157,7 +157,7 @@ function createInstanceSelectOptions() {
preferredList.appendChild(constructOptionFromInstance(instance));
}
forksDiv.hidden = forks === undefined;
forksDiv.hidden = forks === undefined || forks?.list.length === 0;
if (forks) {
forkOfSpan.innerText = getName(knownSoftware, forks.of) ?? forks.of;
for (const instance of forks.list) {