mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
fix(tasks): force sync instead of explicitly clearing notif
This commit is contained in:
@@ -331,7 +331,6 @@ api.approveTask = {
|
||||
// Remove old notifications
|
||||
let approvalPromises = [];
|
||||
managers.forEach((manager) => {
|
||||
if (manager._id === task.group.approval.approvingUser) return;
|
||||
let notificationIndex = manager.notifications.findIndex(function findNotification (notification) {
|
||||
return notification && notification.data && notification.data.taskId === task._id && notification.type === 'GROUP_TASK_APPROVAL';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user