Merge pull request #4145 from sbwalker/dev
fix SiteRouter issue when running on .NET MAUI
This commit is contained in:
commit
4e333e2d75
|
@ -171,9 +171,9 @@
|
|||
visitorId = PageState.VisitorId;
|
||||
}
|
||||
|
||||
if (PageState.RenderMode == RenderModes.Interactive)
|
||||
if (PageState != null && PageState.RenderMode == RenderModes.Interactive)
|
||||
{
|
||||
// process any sync events (for synchrozing the client application with the server)
|
||||
// process any sync events (for synchronizing the client application with the server)
|
||||
var sync = await SyncService.GetSyncEventsAsync(lastsyncdate);
|
||||
lastsyncdate = sync.SyncDate;
|
||||
if (sync.SyncEvents.Any())
|
||||
|
|
Loading…
Reference in New Issue
Block a user