fix: Add missing project and subscriber filters to the list of filter params (#3497)

* add missing project and subscriber filters to the list of filter params

* add toast message on successfully marking all notifications as read
This commit is contained in:
rahulramesha
2024-01-29 17:26:48 +05:30
committed by GitHub
parent c4efdcd704
commit 00e07443b0
4 changed files with 21 additions and 1 deletions

View File

@@ -264,6 +264,13 @@ const useUserNotification = () => {
await userNotificationServices
.markAllNotificationsAsRead(workspaceSlug.toString(), markAsReadParams)
.then(() => {
setToastAlert({
type: "success",
title: "Success!",
message: "All Notifications marked as read.",
});
})
.catch(() => {
setToastAlert({
type: "error",