Update notification.jsx
This commit is contained in:
parent
66bed31dbe
commit
6c04262b51
1 changed files with 2 additions and 1 deletions
|
@ -590,10 +590,11 @@ class Notification extends ImmutablePureComponent {
|
||||||
return this.renderStatusReference(notification, link);
|
return this.renderStatusReference(notification, link);
|
||||||
case 'status':
|
case 'status':
|
||||||
return this.renderStatus(notification, link);
|
return this.renderStatus(notification, link);
|
||||||
case 'list_status':
|
case 'list_status': {
|
||||||
const list = notification.get('list');
|
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>;
|
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);
|
return this.renderListStatus(notification, listLink, link);
|
||||||
|
}
|
||||||
case 'update':
|
case 'update':
|
||||||
return this.renderUpdate(notification, link);
|
return this.renderUpdate(notification, link);
|
||||||
case 'poll':
|
case 'poll':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue