api, frontend: add moderator tag to mods in comments
This commit is contained in:
@@ -743,6 +743,9 @@
|
||||
if (isModerator && comment.state !== "approved") {
|
||||
classAdd(card, "dark-card");
|
||||
}
|
||||
if (commenter.isModerator) {
|
||||
classAdd(name, "moderator");
|
||||
}
|
||||
if (comment.state === "flagged") {
|
||||
classAdd(name, "flagged");
|
||||
}
|
||||
|
Reference in New Issue
Block a user