Merge pull request #4028 from urbit/lf/hark-edit-fix

notifications: fix note description render
This commit is contained in:
matildepark 2020-11-25 20:00:15 -05:00 committed by GitHub
commit 84694231ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ function describeNotification(description: string, plural: boolean) {
return `left ${pluralize("comment", plural)} on`;
case "edit-comment":
return `updated ${pluralize("comment", plural)} on`;
case "new-note":
case "note":
return `posted ${pluralize("note", plural)} to`;
case "edit-note":
return `updated ${pluralize("note", plural)} in`;