/admin/home page is throwing 'Cannot read properties of undefined' [4.0.8]

Product: PowerShell Universal
Version: 4.0.8

Also saw the same behaviour on 4.0.7. If I navigate to the apps page in the menu and refresh the page it loads, but this always throws when trying to access the home page in the admin menu.

The issue is still present after I reboot my web app.

This is in the log file:

2023-07-24 12:08:07.750 +01:00 [ERR] Error when dispatching 'OnConnectedAsync' on hub.
System.NullReferenceException: Object reference not set to an instance of an object.
   at UniversalDashboard.DashboardHub.OnConnectedAsync() in C:\actions-runner\_work\universal\universal\src\Universal.Server\Hubs\DashboardHub.cs:line 52
   at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.OnConnectedAsync(HubConnectionContext connection)
   at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.OnConnectedAsync(HubConnectionContext connection)
   at Microsoft.AspNetCore.SignalR.HubConnectionHandler`1.RunHubAsync(HubConnectionContext connection)

Raised here: admin/home throws errors · Issue #2575 · ironmansoftware/issues · GitHub