mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-05 19:50:32 +08:00
Fix notification summary for revision comments
Instead of showing `left a review comment` we should just say `left a comment` for a revision comment.
This commit is contained in:
@@ -69,7 +69,7 @@ export function createSummary(
|
||||
) {
|
||||
summary = `closed ${kind}`;
|
||||
} else if (lastAction.type === "revision.comment") {
|
||||
summary = `left ${count > 1 ? count : "a"} review ${pluralize("comment", count)}`;
|
||||
summary = `left ${count > 1 ? count : "a"} ${pluralize("comment", count)}`;
|
||||
} else if (lastAction.type === "review.comment") {
|
||||
summary = `left ${count > 1 ? count : "a"} review ${pluralize("comment", count)}`;
|
||||
} else if (a.every(e => e.type === "comment.react")) {
|
||||
|
||||
Reference in New Issue
Block a user