fixed Web UI NotificationDown bug

pull/124/head
tianlinzhong 2022-02-18 14:28:27 +08:00
parent ab4bb773f0
commit 46167e1839
1 changed files with 6 additions and 2 deletions

View File

@ -63,7 +63,9 @@ const NotificationDropdown = ({ t }) => {
} }
}); });
} }else {
setIsAllRead(true);
}
setRawNewNotificationschild(NewNotificationList); setRawNewNotificationschild(NewNotificationList);
} }
}).catch(err => { }).catch(err => {
@ -147,7 +149,9 @@ const NotificationDropdown = ({ t }) => {
} }
}); });
} }else {
setIsAllRead(true);
}
setRawNewNotificationschild(NewNotificationList); setRawNewNotificationschild(NewNotificationList);
} }
}).catch(err => { }).catch(err => {