FIX: reserve id for reaction notifications (#10315)

Use id 25 for reaction notifications
This commit is contained in:
Krzysztof Kotlarek 2020-07-27 11:39:50 +10:00 committed by GitHub
parent e0d9232259
commit f2342c2d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -41,7 +41,8 @@ const REPLACEMENTS = {
"notification.group_message_summary": "users",
"notification.post_approved": "check",
"notification.membership_request_accepted": "user-plus",
"notification.membership_request_consolidated": "users"
"notification.membership_request_consolidated": "users",
"notification.reaction": "bell"
};
export function replaceIcon(source, destination) {

View File

@ -110,7 +110,8 @@ class Notification < ActiveRecord::Base
code_review_commit_approved: 21,
membership_request_accepted: 22,
membership_request_consolidated: 23,
bookmark_reminder: 24
bookmark_reminder: 24,
reaction: 25,
)
end