Update notification.jsx

This commit is contained in:
KMY(雪あすか) 2024-10-05 09:22:06 +09:00 committed by GitHub
parent 66bed31dbe
commit 6c04262b51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -590,10 +590,11 @@ class Notification extends ImmutablePureComponent {
return this.renderStatusReference(notification, link);
case 'status':
return this.renderStatus(notification, link);
case 'list_status':
case 'list_status': {
const list = notification.get('list');
const listLink = <bdi><Link className='notification__display-name' href={`/lists/${list.get('id')}`} title={list.get('title')} to={`/lists/${list.get('id')}`}>{list.get('title')}</Link></bdi>;
return this.renderListStatus(notification, listLink, link);
}
case 'update':
return this.renderUpdate(notification, link);
case 'poll':