Upgrade to Preview8
This commit is contained in:
		@ -26,7 +26,7 @@
 | 
			
		||||
@code {
 | 
			
		||||
    List<Page> pages;
 | 
			
		||||
 | 
			
		||||
    protected override void OnInit()
 | 
			
		||||
    protected override void OnInitialized()
 | 
			
		||||
    {
 | 
			
		||||
        // display list of pages which are children of current page
 | 
			
		||||
        pages = PageState.Pages.Where(item => item.ParentId == PageState.Page.PageId).ToList();
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,7 @@ else
 | 
			
		||||
 | 
			
		||||
    List<ModuleDefinition> moduledefinitions;
 | 
			
		||||
 | 
			
		||||
    protected override async Task OnInitAsync()
 | 
			
		||||
    protected override async Task OnInitializedAsync()
 | 
			
		||||
    {
 | 
			
		||||
        moduledefinitions = await ModuleDefinitionService.GetModuleDefinitionsAsync();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -84,7 +84,7 @@
 | 
			
		||||
    RenderFragment DynamicComponent { get; set; }
 | 
			
		||||
    object settings;
 | 
			
		||||
 | 
			
		||||
    protected override async Task OnInitAsync()
 | 
			
		||||
    protected override async Task OnInitializedAsync()
 | 
			
		||||
    {
 | 
			
		||||
        title = ModuleState.Title;
 | 
			
		||||
        containers = ThemeService.GetContainerTypes(await ThemeService.GetThemesAsync());
 | 
			
		||||
 | 
			
		||||
@ -131,7 +131,7 @@
 | 
			
		||||
    string viewpermissions = "All Users";
 | 
			
		||||
    string editpermissions = "Administrators";
 | 
			
		||||
 | 
			
		||||
    protected override void OnInit()
 | 
			
		||||
    protected override void OnInitialized()
 | 
			
		||||
    {
 | 
			
		||||
        themes = ThemeService.GetThemeTypes(PageState.Themes);
 | 
			
		||||
        panelayouts = ThemeService.GetPaneLayoutTypes(PageState.Themes);
 | 
			
		||||
 | 
			
		||||
@ -132,7 +132,7 @@
 | 
			
		||||
    string viewpermissions;
 | 
			
		||||
    string editpermissions;
 | 
			
		||||
 | 
			
		||||
    protected override void OnInit()
 | 
			
		||||
    protected override void OnInitialized()
 | 
			
		||||
    {
 | 
			
		||||
        themes = ThemeService.GetThemeTypes(PageState.Themes);
 | 
			
		||||
        panelayouts = ThemeService.GetPaneLayoutTypes(PageState.Themes);
 | 
			
		||||
 | 
			
		||||
@ -133,7 +133,7 @@
 | 
			
		||||
    string viewpermissions;
 | 
			
		||||
    string editpermissions;
 | 
			
		||||
 | 
			
		||||
    protected override void OnInit()
 | 
			
		||||
    protected override void OnInitialized()
 | 
			
		||||
    {
 | 
			
		||||
        themes = ThemeService.GetThemeTypes(PageState.Themes);
 | 
			
		||||
        panelayouts = ThemeService.GetPaneLayoutTypes(PageState.Themes);
 | 
			
		||||
 | 
			
		||||
@ -68,7 +68,7 @@ else
 | 
			
		||||
    string url;
 | 
			
		||||
    string logo;
 | 
			
		||||
 | 
			
		||||
    protected override async Task OnInitAsync()
 | 
			
		||||
    protected override async Task OnInitializedAsync()
 | 
			
		||||
    {
 | 
			
		||||
        tenants = await TenantService.GetTenantsAsync();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -35,7 +35,7 @@ else
 | 
			
		||||
 | 
			
		||||
    List<Site> sites;
 | 
			
		||||
 | 
			
		||||
    protected override async Task OnInitAsync()
 | 
			
		||||
    protected override async Task OnInitializedAsync()
 | 
			
		||||
    {
 | 
			
		||||
        sites = await SiteService.GetSitesAsync();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -33,7 +33,7 @@ else
 | 
			
		||||
 | 
			
		||||
    List<Theme> Themes;
 | 
			
		||||
 | 
			
		||||
    protected override async Task OnInitAsync()
 | 
			
		||||
    protected override async Task OnInitializedAsync()
 | 
			
		||||
    {
 | 
			
		||||
        Themes = await ThemeService.GetThemesAsync();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,7 @@ else
 | 
			
		||||
 | 
			
		||||
    List<User> Users;
 | 
			
		||||
 | 
			
		||||
    protected override async Task OnInitAsync()
 | 
			
		||||
    protected override async Task OnInitializedAsync()
 | 
			
		||||
    {
 | 
			
		||||
        Users = await UserService.GetUsersAsync();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user