diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/fsm-libraries/src/services/molecules/FSM/Search.js b/frontend/micro-ui/web/micro-ui-internals/packages/fsm-libraries/src/services/molecules/FSM/Search.js index 07e5cac6f0..a523bdda93 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/fsm-libraries/src/services/molecules/FSM/Search.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/fsm-libraries/src/services/molecules/FSM/Search.js @@ -71,7 +71,7 @@ export const Search = { ids: response.dsoId, vehicleIds: response?.vehicleId, }; - [dsoDetails] = await DsoDetails(tenantId, dsoFilters); + [dsoDetails] = await DsoDetails(tenantId, dsoFilters, t); if (response?.vehicleId) { vehicle = dsoDetails.vehicles.find( diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/Modal/index.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/Modal/index.js index d3c69c77be..037b64bbd3 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/Modal/index.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/Modal/index.js @@ -42,7 +42,7 @@ const popupActionBarStyles = { const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction, actionData, module,applicationDetails }) => { const mobileView = Digit.Utils.browser.isMobile() ? true : false; - const { data: dsoData, isLoading: isDsoLoading, isSuccess: isDsoSuccess, error: dsoError } = Digit.Hooks.fsm.useDsoSearch(tenantId, { limit: '-1', status: 'ACTIVE' }); + const { data: dsoData, isLoading: isDsoLoading, isSuccess: isDsoSuccess, error: dsoError } = Digit.Hooks.fsm.useDsoSearch(tenantId, { limit: '-1', status: 'ACTIVE' }, {}, t); const { isLoading, isSuccess, isError, data: applicationData, error } = Digit.Hooks.fsm.useSearch( tenantId, { applicationNos: id }, diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js index 6ed9aaf8e4..ceb835d567 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js @@ -172,7 +172,7 @@ const ApplicationDetails = (props) => { } const getTimelineCaptions = (checkpoint) => { - const __comment = checkpoint?.comment?.split("~"); + const __comment = checkpoint?.comment?.split("~") || checkpoint?.wfComment?.[0]?.split("~"); const reason = __comment ? __comment[0] : null; const reason_comment = __comment ? __comment[1] : null; if (checkpoint.status === "CREATED") {