From edb2ab13afd0562179556ac00d034a358df2762c Mon Sep 17 00:00:00 2001
From: Rune Johansen <6797636+runejo@users.noreply.github.com>
Date: Tue, 7 Jan 2025 16:06:55 +0100
Subject: [PATCH] Fix always true

---
 PxWeb/Code/PxDatabase/Builders/MenuBuilder.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PxWeb/Code/PxDatabase/Builders/MenuBuilder.cs b/PxWeb/Code/PxDatabase/Builders/MenuBuilder.cs
index 86d3f98f..e6a8e5de 100644
--- a/PxWeb/Code/PxDatabase/Builders/MenuBuilder.cs
+++ b/PxWeb/Code/PxDatabase/Builders/MenuBuilder.cs
@@ -478,7 +478,7 @@ private static string GetNames(PCAxis.Paxiom.Variable variable)
                 for (int i = 0; i < 4; i++)
                 {
                     names.Append(variable.Values[i].Value);
-                    if (i < 5 || i == variable.Values.Count)
+                    if (i == variable.Values.Count)
                     {
                         names.Append(", ");
                     }