Skip to content

Commit

Permalink
Use method argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
twastvedt committed Jul 26, 2024
1 parent 6f1841b commit 22b7fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Libraries/CoreNodeModels/Selection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ protected virtual string FormatSelectionText<T>(IEnumerable<T> 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)
{
Expand Down

0 comments on commit 22b7fdb

Please sign in to comment.