From 1057bf80dc0e2afdf0a4553f8d12c8fcfcc45add Mon Sep 17 00:00:00 2001 From: CenTdemeern1 Date: Thu, 13 Feb 2025 03:27:39 +0100 Subject: [PATCH] Hotfix forks text showing when it shouldn't --- static/crossroad.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/crossroad.mts b/static/crossroad.mts index a525f19..80c597b 100644 --- a/static/crossroad.mts +++ b/static/crossroad.mts @@ -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) {