forked from github/plane
fix: un-read count not mutating (#1598)
* refactor: height of popover & api fetch call * fix: notification subscribe endpoint * fix: un-read count not mutating
This commit is contained in:
parent
78669363b1
commit
546aa40aa3
@ -74,6 +74,7 @@ const useUserNotification = () => {
|
||||
})
|
||||
.finally(() => {
|
||||
notificationsMutate();
|
||||
mutateNotificationCount();
|
||||
});
|
||||
} else {
|
||||
notificationsMutate(
|
||||
@ -96,6 +97,7 @@ const useUserNotification = () => {
|
||||
})
|
||||
.finally(() => {
|
||||
notificationsMutate();
|
||||
mutateNotificationCount();
|
||||
});
|
||||
}
|
||||
};
|
||||
@ -114,6 +116,7 @@ const useUserNotification = () => {
|
||||
})
|
||||
.finally(() => {
|
||||
notificationsMutate();
|
||||
mutateNotificationCount();
|
||||
});
|
||||
} else {
|
||||
notificationsMutate(
|
||||
@ -127,6 +130,7 @@ const useUserNotification = () => {
|
||||
})
|
||||
.finally(() => {
|
||||
notificationsMutate();
|
||||
mutateNotificationCount();
|
||||
});
|
||||
}
|
||||
};
|
||||
@ -145,6 +149,7 @@ const useUserNotification = () => {
|
||||
})
|
||||
.finally(() => {
|
||||
notificationsMutate();
|
||||
mutateNotificationCount();
|
||||
});
|
||||
} else {
|
||||
notificationsMutate(
|
||||
@ -160,6 +165,7 @@ const useUserNotification = () => {
|
||||
})
|
||||
.finally(() => {
|
||||
notificationsMutate();
|
||||
mutateNotificationCount();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user