FIX: reserve id for reaction notifications (#10315)
Use id 25 for reaction notifications
This commit is contained in:
parent
e0d9232259
commit
f2342c2d32
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue