diff --git a/src/libs/actions/Task.ts b/src/libs/actions/Task.ts index ea87f5dd5cc6..15fd39bd66e9 100644 --- a/src/libs/actions/Task.ts +++ b/src/libs/actions/Task.ts @@ -429,7 +429,6 @@ function completeTask(taskReport: OnyxEntry) { playSound(SOUNDS.SUCCESS); API.write(WRITE_COMMANDS.COMPLETE_TASK, parameters, {optimisticData, successData, failureData}); - Report.notifyNewAction(taskReportID, currentUserAccountID); } /** @@ -513,7 +512,6 @@ function reopenTask(taskReport: OnyxEntry) { }; API.write(WRITE_COMMANDS.REOPEN_TASK, parameters, {optimisticData, successData, failureData}); - Report.notifyNewAction(taskReportID, currentUserAccountID); } function editTask(report: OnyxTypes.Report, {title, description}: OnyxTypes.Task) { @@ -590,7 +588,6 @@ function editTask(report: OnyxTypes.Report, {title, description}: OnyxTypes.Task }; API.write(WRITE_COMMANDS.EDIT_TASK, parameters, {optimisticData, successData, failureData}); - Report.notifyNewAction(report.reportID, currentUserAccountID); } function editTaskAssignee(report: OnyxTypes.Report, sessionAccountID: number, assigneeEmail: string, assigneeAccountID: number | null = 0, assigneeChatReport?: OnyxEntry) { @@ -729,7 +726,6 @@ function editTaskAssignee(report: OnyxTypes.Report, sessionAccountID: number, as }; API.write(WRITE_COMMANDS.EDIT_TASK_ASSIGNEE, parameters, {optimisticData, successData, failureData}); - Report.notifyNewAction(report.reportID, currentUserAccountID); } /**