diff --git a/src/components/DataDimension/Info/ProgramIndicatorInfo.js b/src/components/DataDimension/Info/ProgramIndicatorInfo.js index f529a0ca4..8de579161 100644 --- a/src/components/DataDimension/Info/ProgramIndicatorInfo.js +++ b/src/components/DataDimension/Info/ProgramIndicatorInfo.js @@ -1,7 +1,7 @@ import { useDataMutation, useDataEngine } from '@dhis2/app-runtime' import PropTypes from 'prop-types' import React, { useCallback, useEffect, useState } from 'react' -import { validateProgramIndicatorExpressionMutation } from '../../../api/expression.js' +import { validateIndicatorExpressionMutation } from '../../../api/expression.js' import i18n from '../../../locales/index.js' import { getCommonFields, InfoTable } from './InfoTable.js' import styles from './styles/InfoPopover.style.js' @@ -25,7 +25,8 @@ export const ProgramIndicatorInfo = ({ id, displayNameProp }) => { const engine = useDataEngine() const [getHumanReadableExpression] = useDataMutation( - validateProgramIndicatorExpressionMutation, + // TODO switch to validateProgramIndicatorExpressionMutation + validateIndicatorExpressionMutation, { onError: setError, }