if only one pane is available select it
This commit is contained in:
parent
c2396e91e7
commit
a577e80425
|
@ -196,6 +196,8 @@
|
||||||
pages.Add(p);
|
pages.Add(p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
var panes = PageState.Page.Panes.Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries);
|
||||||
|
pane = panes.Count() == 1 ? panes.SingleOrDefault() : "";
|
||||||
containers = ThemeService.GetContainerTypes(PageState.Themes);
|
containers = ThemeService.GetContainerTypes(PageState.Themes);
|
||||||
containertype = PageState.Site.DefaultContainerType;
|
containertype = PageState.Site.DefaultContainerType;
|
||||||
List<Module> modules = await ModuleService.GetModulesAsync(PageState.Site.SiteId, Constants.PageManagementModule);
|
List<Module> modules = await ModuleService.GetModulesAsync(PageState.Site.SiteId, Constants.PageManagementModule);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user