|
|
@ -4,6 +4,7 @@ using System.Linq;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using Blazorise;
|
|
|
|
using Blazorise;
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
|
|
|
|
using Volo.Abp.AspNetCore.Components.Web.Configuration;
|
|
|
|
using Volo.Abp.PermissionManagement.Localization;
|
|
|
|
using Volo.Abp.PermissionManagement.Localization;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Volo.Abp.PermissionManagement.Blazor.Components
|
|
|
|
namespace Volo.Abp.PermissionManagement.Blazor.Components
|
|
|
@ -11,6 +12,7 @@ namespace Volo.Abp.PermissionManagement.Blazor.Components
|
|
|
|
public partial class PermissionManagementModal
|
|
|
|
public partial class PermissionManagementModal
|
|
|
|
{
|
|
|
|
{
|
|
|
|
[Inject] private IPermissionAppService PermissionAppService { get; set; }
|
|
|
|
[Inject] private IPermissionAppService PermissionAppService { get; set; }
|
|
|
|
|
|
|
|
[Inject] private ICurrentApplicationConfigurationCacheResetService CurrentApplicationConfigurationCacheResetService { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
private Modal _modal;
|
|
|
|
private Modal _modal;
|
|
|
|
|
|
|
|
|
|
|
@ -133,6 +135,8 @@ namespace Volo.Abp.PermissionManagement.Blazor.Components
|
|
|
|
|
|
|
|
|
|
|
|
await PermissionAppService.UpdateAsync(_providerName, _providerKey, updateDto);
|
|
|
|
await PermissionAppService.UpdateAsync(_providerName, _providerKey, updateDto);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await CurrentApplicationConfigurationCacheResetService.ResetAsync();
|
|
|
|
|
|
|
|
|
|
|
|
await InvokeAsync(_modal.Hide);
|
|
|
|
await InvokeAsync(_modal.Hide);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (Exception ex)
|
|
|
|
catch (Exception ex)
|
|
|
|