Fix Add Page Issue
This commit is contained in:
parent
de49387fca
commit
83f329d93c
@ -275,7 +275,7 @@
|
||||
}
|
||||
|
||||
// get modules for current page
|
||||
if (PageState.Modules == null || PageState.Modules.First().PageId != page.PageId)
|
||||
if (PageState.Modules == null || (PageState.Modules.Any() && PageState.Modules.First().PageId != page.PageId))
|
||||
{
|
||||
modules = await SiteService.GetModulesAsync(site.SiteId, page.PageId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user