From 971fe51f0a6ae98607ea0da6ba84ddab2bf985f4 Mon Sep 17 00:00:00 2001 From: Joyce Yuki <82857964+kathyavini@users.noreply.github.com> Date: Thu, 5 Dec 2024 21:42:15 -0800 Subject: [PATCH] LF-4558 Give second argument to getSupportedTaskTypes --- packages/webapp/src/containers/Filter/Tasks/index.jsx | 2 +- packages/webapp/src/containers/Task/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webapp/src/containers/Filter/Tasks/index.jsx b/packages/webapp/src/containers/Filter/Tasks/index.jsx index 1f5604d0bf..46f27a823a 100644 --- a/packages/webapp/src/containers/Filter/Tasks/index.jsx +++ b/packages/webapp/src/containers/Filter/Tasks/index.jsx @@ -62,7 +62,7 @@ const TasksFilterPage = ({ onGoBack }) => { }, []); const taskTypes = useMemo(() => { - const supportedTaskTypes = getSupportedTaskTypesSet(true); + const supportedTaskTypes = getSupportedTaskTypesSet(true, true); let taskTypes = {}; for (const type of defaultTaskTypes) { if (type.deleted === false && supportedTaskTypes.has(type.task_translation_key)) { diff --git a/packages/webapp/src/containers/Task/index.jsx b/packages/webapp/src/containers/Task/index.jsx index 583f07f624..a7c9904d7c 100644 --- a/packages/webapp/src/containers/Task/index.jsx +++ b/packages/webapp/src/containers/Task/index.jsx @@ -90,7 +90,7 @@ export default function TaskPage({ history }) { }; const taskTypes = useMemo(() => { - const supportedTaskTypes = getSupportedTaskTypesSet(true); + const supportedTaskTypes = getSupportedTaskTypesSet(true, true); const taskTypes = []; for (const type of defaultTaskTypes) { if (type.deleted === false && supportedTaskTypes.has(type.task_translation_key)) {