A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix(notifications): fix message disappear when reclick notification type
haitao(lj)05f48669092a
diff --git a/ui/src/pages/Users/Notifications/index.tsx b/ui/src/pages/Users/Notifications/index.tsxindex 47e69a04..b24367b7 100644--- a/ui/src/pages/Users/Notifications/index.tsx+++ b/ui/src/pages/Users/Notifications/index.tsx@@ -47,6 +47,9 @@ const Notifications = () => {const handleTypeChange = (evt, val) => {evt.preventDefault();+ if (type === val) {+ return;+ }setPage(1);setNotificationData([]);navigate(`/users/notifications/${val}`);