Explorar o código

update comment

Shun Miyazawa %!s(int64=4) %!d(string=hai) anos
pai
achega
772d316d4e

+ 1 - 1
packages/app/src/components/InAppNotification/PageNotification/PageModelNotification.tsx

@@ -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 });
 
 
-    // jump to target page
+    // if target page exists jump to the 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;