fix(tasks): force sync instead of explicitly clearing notif

This commit is contained in:
Sabe Jones
2019-04-17 09:05:23 -05:00
parent 4c832ad36c
commit 43b607aedd
2 changed files with 4 additions and 4 deletions

View File

@@ -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';
});