Browse Source
Merge pull request #18155 from abpframework/7.4-blazor-fix-title-render
Add missing PageLayout using in SettingManagement
pull/18168/head
Gizem Mutu Kurt
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
0 deletions
-
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/SettingManagement.razor
-
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/SettingManagement.razor.cs
|
|
@ -1,5 +1,6 @@ |
|
|
@page "/setting-management" |
|
|
@page "/setting-management" |
|
|
@using Microsoft.AspNetCore.Authorization |
|
|
@using Microsoft.AspNetCore.Authorization |
|
|
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.Theming.Layout |
|
|
@using Volo.Abp.Features |
|
|
@using Volo.Abp.Features |
|
|
@attribute [Authorize] |
|
|
@attribute [Authorize] |
|
|
@attribute [RequiresFeature(SettingManagementFeatures.Enable)] |
|
|
@attribute [RequiresFeature(SettingManagementFeatures.Enable)] |
|
|
|
|
|
@ -45,6 +45,12 @@ public partial class SettingManagement |
|
|
SelectedGroup = GetNormalizedString(SettingComponentCreationContext.Groups.First().Id); |
|
|
SelectedGroup = GetNormalizedString(SettingComponentCreationContext.Groups.First().Id); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected override Task OnAfterRenderAsync(bool firstRender) |
|
|
|
|
|
{ |
|
|
|
|
|
StateHasChanged(); |
|
|
|
|
|
return base.OnAfterRenderAsync(firstRender); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
protected virtual string GetNormalizedString(string value) |
|
|
protected virtual string GetNormalizedString(string value) |
|
|
{ |
|
|
{ |
|
|
return value.Replace('.', '_'); |
|
|
return value.Replace('.', '_'); |
|
|
|