Fix notification parameter in WebUI

This commit is contained in:
noellabo 2021-06-03 21:12:31 +09:00
parent 20aa334254
commit e9bd2b1020

View file

@ -52,7 +52,7 @@ const notificationToMap = notification => ImmutableMap({
account: notification.account.id, account: notification.account.id,
created_at: notification.created_at, created_at: notification.created_at,
status: notification.status ? notification.status.id : null, status: notification.status ? notification.status.id : null,
reaction: ImmutableMap(notification.reaction), emoji_reaction: ImmutableMap(notification.emoji_reaction),
reblogVisibility: notification.reblog_visibility, reblogVisibility: notification.reblog_visibility,
}); });