mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
fixup! web/timeline: render ACL changes in details tag
Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
parent
db625d86b9
commit
f75454ffc1
1 changed files with 1 additions and 1 deletions
|
@ -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`)
|
||||||
|
|
Loading…
Add table
Reference in a new issue