Browse Source
Remove indeterminate state from group permission selection
pull/26062/head
maliming
4 days ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
0 additions and
1 deletions
-
modules/permission-management/src/Volo.Abp.PermissionManagement.Blazor.MudBlazor/Components/PermissionManagementModal.razor
|
|
@ -43,7 +43,6 @@ |
|
|
<div> |
|
|
<div> |
|
|
<MudCheckBox Color="Color.Primary" UncheckedColor="Color.Default" |
|
|
<MudCheckBox Color="Color.Primary" UncheckedColor="Color.Default" |
|
|
T="bool?" |
|
|
T="bool?" |
|
|
TriState="true" |
|
|
|
|
|
Disabled="@(IsPermissionGroupDisabled(group))" |
|
|
Disabled="@(IsPermissionGroupDisabled(group))" |
|
|
Value="@(group.Permissions.Any(x => x.IsGranted) && !group.Permissions.All(x => x.IsGranted) |
|
|
Value="@(group.Permissions.Any(x => x.IsGranted) && !group.Permissions.All(x => x.IsGranted) |
|
|
? (bool?)null |
|
|
? (bool?)null |
|
|
|