Working table now has react error since 1.5.0 upgrade

Product: PowerShell Universal
Version: 1.5.0 Framework 3.2.0

Prior to 1.5.0 you could create a new table with no data
New-UDTable -Id ‘ThisData’ -Title $CurTableTitle -Data $ThisData -Columns $Columns -PageSize 15 -PageSizeOptions @(5,10,$TotalPages) -Sort -Filter -Search -Export

$ThisData could be empty and you would get “No records to display” now you get a React error

Objects are not valid as a React child (found: TypeError: Cannot read property ‘0’ of null). If you meant to render a collection of children, use an array instead.

Is this a breaking change or has something changed with the way tables render now?

This is a bug. We’ll get this resolved in 1.5.1. I’ve opened an issue in our tracker for it.

1 Like

Also experiencing the same bug

Product: PowerShell Universal
Version: 1.5.0 Framework 3.2.0

we are working on a fix for this bug