fixup! web/timeline: render ACL changes in details tag

Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
Sumner Evans 2025-04-03 09:01:03 -06:00
parent db625d86b9
commit f75454ffc1
No known key found for this signature in database
GPG key ID: 8904527AB50022FD

View file

@ -61,7 +61,7 @@ function makeACLChangeStringSummary(
parts.push(`added ${addedDeny.length} ${addedDeny.length > 1 ? "entries" : "entry"} to the ban list`) parts.push(`added ${addedDeny.length} ${addedDeny.length > 1 ? "entries" : "entry"} to the ban list`)
} }
if (removedDeny.length > 0) { if (removedDeny.length > 0) {
parts.push(`removed ${addedDeny.length} ${addedDeny.length > 1 ? "entries" : "entry"} to the ban list`) parts.push(`removed ${removedDeny.length} ${removedDeny.length > 1 ? "entries" : "entry"} from the ban list`)
} }
if (addedAllow.length > 0) { if (addedAllow.length > 0) {
parts.push(`added ${addedAllow.length} ${addedAllow.length > 1 ? "entries" : "entry"} to the allowlist`) parts.push(`added ${addedAllow.length} ${addedAllow.length > 1 ? "entries" : "entry"} to the allowlist`)