mirror of
https://github.com/flarum/core.git
synced 2025-05-09 08:55:25 +02:00
Notification: fix wrong external
attr for Link
This commit is contained in:
parent
1fc24635f6
commit
d409484abf
@ -24,7 +24,7 @@ export default class Notification extends Component {
|
|||||||
<Link
|
<Link
|
||||||
className={'Notification Notification--' + notification.contentType() + ' ' + (!notification.isRead() ? 'unread' : '')}
|
className={'Notification Notification--' + notification.contentType() + ' ' + (!notification.isRead() ? 'unread' : '')}
|
||||||
href={href}
|
href={href}
|
||||||
external={href.indexOf('://') === -1}
|
external={href.includes('://')}
|
||||||
onclick={this.markAsRead.bind(this)}
|
onclick={this.markAsRead.bind(this)}
|
||||||
>
|
>
|
||||||
{!notification.isRead() &&
|
{!notification.isRead() &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user