Explorar el Código

hidle error message without edit mode

CR003
Alex Cheung hace 1 año
padre
commit
6ae8ba07a6
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. +4
    -3
      src/pages/Organization/DetailPage/OrganizationCard.js

+ 4
- 3
src/pages/Organization/DetailPage/OrganizationCard.js Ver fichero

@@ -463,9 +463,10 @@ const OrganizationCard = ({ userData, loadDataFun, id, setEditModeFun }) => {
{
fromDate == null ?
(!editMode && !createMode) ?
<FormHelperText error id="helper-text-date">
Please select a date after today.
</FormHelperText>
// <FormHelperText error id="helper-text-date">
// Please select a date after today.
// </FormHelperText>
null
:
<FormHelperText error id="helper-text-date">
{intl.formatMessage({ id: 'pleaseFillInBusinessRegCertValidityDate' })}


Cargando…
Cancelar
Guardar