diff --git a/src/UniversalDashboard.Materialize/Scripts/grid.ps1 b/src/UniversalDashboard.Materialize/Scripts/grid.ps1 index ba0b9481..e7a4a0a9 100644 --- a/src/UniversalDashboard.Materialize/Scripts/grid.ps1 +++ b/src/UniversalDashboard.Materialize/Scripts/grid.ps1 @@ -62,7 +62,7 @@ function New-UDGrid { headers = $Headers properties = $Properties defaultSortColumn = $DefaultSortColumn - defaultSortDescending = $DefaultSortDescending + defaultSortDescending = $DefaultSortDescending.IsPresent backgroundColor = $BackgroundColor.HtmlColor fontColor = $FontColor.HtmlColor links = $Links