mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-31 18:32:36 +01:00
fix bubble alert link
This commit is contained in:
parent
337de8e2f4
commit
aad76422ec
@ -13,8 +13,6 @@ export const NotificationDefaultBubbleView: FC<NotificationDefaultBubbleViewProp
|
|||||||
|
|
||||||
const htmlText = item.message.replace(/\r\n|\r|\n/g, '<br />');
|
const htmlText = item.message.replace(/\r\n|\r|\n/g, '<br />');
|
||||||
|
|
||||||
NotificationUtilities.openUrl(item.linkUrl);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<LayoutNotificationBubbleView close={ close } gap={ 2 } alignItems="center" onClick={ event => (item.linkUrl && item.linkUrl.length && NotificationUtilities.openUrl(item.linkUrl)) } { ...rest }>
|
<LayoutNotificationBubbleView close={ close } gap={ 2 } alignItems="center" onClick={ event => (item.linkUrl && item.linkUrl.length && NotificationUtilities.openUrl(item.linkUrl)) } { ...rest }>
|
||||||
<Flex center className="bubble-image-container">
|
<Flex center className="bubble-image-container">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user