Bug: Landing page Redirection Error after upgrade

Product: PowerShell Universal
Version: 3.10.3

Hi,
After upgrade from 3.9.17 to 3.10.X when I click on UDCard element
I get an error:

I use the following code:

New-UDDashboard -Title 'Home' -Content {
    New-UDLayout -Columns 4 -Content {
        Get-PSUDashboard -Integrated | Sort-Object Name | ForEach-Object {
            if ($_.Name -eq 'Landing Page') {
                return
            }

            if ($_.Authenticated -and $User -eq $null) {
                return
            }

            if ($_.Status -eq "Stopped") {
                return
            }
            $Content = { 
                New-UDElement -Tag 'div' -Content {
                    New-UDCard -Id "card" -Title $_.Name -TitleAlignment center -Content {
                        New-UDStack -Direction column -Spacing 2 -Content {
                            New-UDTypography $_.Description -Align center
                            New-UDStack -Direction row -Content {
                                $_.Tag | ForEach-Object {
                                    if ($_ -eq $null) { return }
                                    $Tag = Get-PSUTag -Name $_ -Integrate 
                                    New-UDChip -Label $_ -Style @{
                                        borderRadius    = "0px"
                                        backgroundColor =  "rgb(255,255,255)" #$_.Color
                                        color           = "white"
                                    }
                                }
                            }
                        }
                    
                    } -Style @{ 
                        minHeight = '172px'
                        backgroundColor = "rgb(250,250,250)"
                    }
                } -Attributes @{
                    style   = @{
                        cursor = "pointer"
                    }
                    onClick = {
                        Invoke-UDRedirect -Native $_.BaseUrl
                    }
                }
            }

            if ($_.Authenticated -and $_.Role) {
                Protect-UDSection -Role $_.Role -Content $Content
            }
            else {
                & $Content 
            }
        }
    }
} -HeaderContent {
    if (-not $User) {
        New-UDButton -Text 'Login' -OnClick {
            Invoke-UDRedirect -Native '/login'
        }
    }
}

Thanks in advanced!

-Native is a switch.

try:

 Invoke-UDRedirect  -Url $_.BaseUrl -Native

and

 Invoke-UDRedirect -Url '/login' -Native