Product: PowerShell Universal
Version: 1.5.6
I have a strange problem with New-UDTable. It seems like there is a problem displaying a table with only one row.
This code is working fine:
$Data = @(
@{Dessert = 'Frozen yoghurt'; Calories = 159; Fat = 6.0; Carbs = 24; Protein = 4.0}
@{Dessert = 'Ice cream sandwich'; Calories = 159; Fat = 6.0; Carbs = 24; Protein = 4.0}
)
New-UDTable -Data $Data
This does not:
$Data = @(
@{Dessert = 'Frozen yoghurt'; Calories = 159; Fat = 6.0; Carbs = 24; Protein = 4.0}
)
New-UDTable -Data $Data
The second one display this React error:
Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=TypeError%3A%20canāt%20convert%20undefined%20to%20object&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings