Data is refreshed but page itself (f.e

Hi,

#dashboard.ps1

#Get the data
. .\Get-Data-UAT.ps1
$UAT = .\pages\uat.ps1

. .\Get-Data-PRD.ps1
$PRD = .\pages\PRD.ps1

$Homepage = New-UDPage -Name “Home” -Icon home -Content {
new-udcard -title “Welcome on landingpage Universal Dashboard”
}

Start-UDDashboard -Endpoint @($EveryXSeconds) -Content {
#$MyDashboard
New-UDDashboard -Theme $Theme -NavbarLinks $NavBarLinks -Title “UAT and PRD” -NavBarColor ‘#FF1c1c1c’ -NavBarFontColor “#FF55b3ff” -BackgroundColor “#FF333333” -FontColor “#FFFFFFF” -Pages @(
$HomePage, #Homepage is $PackagingPRD
$PRD,
$UAT

) 
}  -Name 'ContentDashboard' -port 10000  -AutoReload

#. .\Get-Data-UAT.ps1 content
$schedule = New-UDEndpointSchedule -Every 5 -Second
$EveryXSeconds = New-UDEndpoint -Schedule $schedule -Endpoint {
}

#page\uat.ps1 content
new-UDPage -Name “UAT” -Icon link -Content {

New-UDCard -title "UAT INFO"
 
 New-UDRow -Endpoint {

  New-UDHeading -Color "white" -Text "Refreshed at $cache:Date" 

} -AutoRefresh

=> DATA is refreshed but not f.e. if I change the -Text “Refreshed at $cache:data” to “Blabla at $cache:data”

Hope this is clear.
Thanks for your input.
Steven

Try putting your code into hastebin.com and posting that link. It makes it easier to read and troubleshoot.