diff --git a/src/components/notification-center/views/bubble-layouts/NotificationDefaultBubbleView.tsx b/src/components/notification-center/views/bubble-layouts/NotificationDefaultBubbleView.tsx index b778ff58..49009287 100644 --- a/src/components/notification-center/views/bubble-layouts/NotificationDefaultBubbleView.tsx +++ b/src/components/notification-center/views/bubble-layouts/NotificationDefaultBubbleView.tsx @@ -1,5 +1,5 @@ import { FC } from 'react'; -import { NotificationBubbleItem } from '../../../../api'; +import { NotificationBubbleItem, NotificationUtilities } from '../../../../api'; import { Flex, LayoutNotificationBubbleView, LayoutNotificationBubbleViewProps, Text } from '../../../../common'; export interface NotificationDefaultBubbleViewProps extends LayoutNotificationBubbleViewProps @@ -13,8 +13,10 @@ export const NotificationDefaultBubbleView: FC'); + NotificationUtilities.openUrl(item.linkUrl); + return ( - + (item.linkUrl && item.linkUrl.length && NotificationUtilities.openUrl(item.linkUrl)) } { ...rest }> { (item.iconUrl && item.iconUrl.length) && }