From 5360b639925106c202ed579fe6fff919a7564d9f Mon Sep 17 00:00:00 2001 From: Trygve Wastvedt Date: Fri, 26 Jul 2024 13:48:25 -0500 Subject: [PATCH] Use method argument. --- src/Libraries/CoreNodeModels/Selection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Libraries/CoreNodeModels/Selection.cs b/src/Libraries/CoreNodeModels/Selection.cs index b10f892ee73..4ca07a479b4 100644 --- a/src/Libraries/CoreNodeModels/Selection.cs +++ b/src/Libraries/CoreNodeModels/Selection.cs @@ -238,7 +238,7 @@ protected virtual string FormatSelectionText(IEnumerable elements) { if (elements.Any()) { - string text = string.Join(", ", SelectionResults.Take(20).Select(x => x.ToString())); + string text = string.Join(", ", elements.Take(20).Select(x => x.ToString())); if (elements.Count() > 20) {