Skip to content

Commit

Permalink
Use constant instead of literal 'Value' string
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFigueiraMSFT committed Mar 8, 2024
1 parent 5a2cd4c commit f71381d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public void Visit(TableValue tableValue)
{
var fieldTypes = tableValue.Type.GetFieldTypes();
var firstField = fieldTypes.FirstOrDefault();
if (firstField != null && !fieldTypes.Skip(1).Any() && firstField.Name.Value == "Value")
if (firstField != null && !fieldTypes.Skip(1).Any() && firstField.Name.Value == TexlFunction.ColumnName_ValueStr)
{
isSingleColumnValueTable = true;
}
Expand Down

0 comments on commit f71381d

Please sign in to comment.