Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3320 | Rev 3324 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3320 Rev 3321
Línea 16... Línea 16...
16
  const navigate = useNavigate()
16
  const navigate = useNavigate()
17
  const dispatch = useDispatch()
17
  const dispatch = useDispatch()
Línea 18... Línea 18...
18
 
18
 
19
  const { id, date, quantitative_value, qualitative_description, actions } =
19
  const { id, date, quantitative_value, qualitative_description, actions } =
20
    progress
-
 
21
  const formatDate = new Intl.DateTimeFormat('es', {
-
 
22
    dateStyle: 'full',
-
 
23
    timeStyle: 'medium',
-
 
24
    timeZone: 'America/Bogota'
-
 
Línea 25... Línea 20...
25
  }).format(date)
20
    progress
26
 
21
 
Línea 27... Línea 22...
27
  const { removeItem, getItemById } = useHabitProgress()
22
  const { removeItem, getItemById } = useHabitProgress()
Línea 43... Línea 38...
43
 
38
 
44
  return (
39
  return (
45
    <>
40
    <>
46
      <Widget>
41
      <Widget>
47
        <Widget.Header
42
        <Widget.Header
48
          title={formatDate}
43
          title={date}
49
          subheader={quantitative_value}
44
          subheader={quantitative_value}
50
          renderAction={() => (
45
          renderAction={() => (
51
            <Options>
46
            <Options>
52
              {actions.link_edit && (
47
              {actions.link_edit && (