summaryrefslogtreecommitdiff
path: root/Pages/Component
diff options
context:
space:
mode:
Diffstat (limited to 'Pages/Component')
-rw-r--r--Pages/Component/AclDialog.razor4
1 files changed, 2 insertions, 2 deletions
diff --git a/Pages/Component/AclDialog.razor b/Pages/Component/AclDialog.razor
index c924b98..476306b 100644
--- a/Pages/Component/AclDialog.razor
+++ b/Pages/Component/AclDialog.razor
@@ -149,7 +149,7 @@
public bool ApplyDisabled =>
GetAclHashCode(obj.Acl!) == lastHashCode ||
- obj.Acl!.Rules.Select(r => r.Principal).Contains(WellKnownSid.NullSid);
+ obj.Acl!.Rules.Select(r => r.Principal).Contains(WellKnownSid.NullSid);
protected override void OnAfterRender(bool firstRender) {
if(subjectSelect is null || ruleToEdit is null)
@@ -188,9 +188,9 @@
private void ApplyAcl() {
if(obj.Acl!.Rules.Count() == 0) {
- obj.Acl = null;
if(!addedAcl)
db.Remove(obj.Acl!);
+ obj.Acl = null;
}
db.SaveChanges();