Skip to content

Commit

Permalink
Remove reference display when we find no references.
Browse files Browse the repository at this point in the history
  • Loading branch information
anmcgrath committed Mar 3, 2024
1 parent 81b967f commit 51b5191
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@
var parser = new Parser();
var formula = parser.FromString(CurrentValue);
if (!formula.References.Any())
{
_colorRegions = new List<DataRegion<string>>();
return;
}

_colorRegions = formula.References
.Select((r, i) =>
Expand Down

0 comments on commit 51b5191

Please sign in to comment.