|
@@ -29,7 +29,7 @@ const PageModelNotification: FC<Props> = (props: Props) => {
|
|
|
// set notification status "OPEND"
|
|
// set notification status "OPEND"
|
|
|
apiv3Post('/in-app-notification/open', { id: notification._id });
|
|
apiv3Post('/in-app-notification/open', { id: notification._id });
|
|
|
|
|
|
|
|
- // if target page exists jump to the page
|
|
|
|
|
|
|
+ // jump to target page
|
|
|
const targetPagePath = notification.target?.path;
|
|
const targetPagePath = notification.target?.path;
|
|
|
if (targetPagePath != null) {
|
|
if (targetPagePath != null) {
|
|
|
window.location.href = targetPagePath;
|
|
window.location.href = targetPagePath;
|