Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 963 Rev 1507
Línea 4... Línea 4...
4
import { useSelector } from 'react-redux'
4
import { useSelector } from 'react-redux'
5
import { Avatar, Box } from '@mui/material'
5
import { Avatar, Box } from '@mui/material'
6
import styled from 'styled-components'
6
import styled from 'styled-components'
Línea 7... Línea 7...
7
 
7
 
8
import { ButtonPrimary } from '@buttons'
8
import { ButtonPrimary } from '@buttons'
9
import StyledContainer from '../WidgetLayout'
9
import WidgetWrapper from '../WidgetLayout'
Línea 10... Línea 10...
10
import EmptySection from '../../UI/EmptySection'
10
import EmptySection from '../../UI/EmptySection'
11
 
11
 
12
const WidgetHeader = styled(StyledContainer.Header)`
12
const WidgetHeader = styled(WidgetWrapper.Header)`
13
  align-items: baseline;
13
  align-items: baseline;
14
  border-bottom: 1px solid var(--border-primary);
14
  border-bottom: 1px solid var(--border-primary);
15
  span {
15
  span {
Línea 66... Línea 66...
66
 
66
 
67
    getData(url)
67
    getData(url)
Línea 68... Línea 68...
68
  }, [url])
68
  }, [url])
69
 
69
 
70
  return (
70
  return (
71
    <StyledContainer>
71
    <WidgetWrapper>
72
      <WidgetHeader title={title}>
72
      <WidgetHeader title={title}>
73
        {data.length > 3 ? (
73
        {data.length > 3 ? (
74
          <span onClick={() => setLookMore(!lookMore)}>
74
          <span onClick={() => setLookMore(!lookMore)}>
Línea 93... Línea 93...
93
          ))
93
          ))
94
        ) : (
94
        ) : (
95
          <EmptySection align='left' message={labels?.datatable_empty} />
95
          <EmptySection align='left' message={labels?.datatable_empty} />
96
        )}
96
        )}
97
      </Box>
97
      </Box>
98
    </StyledContainer>
98
    </WidgetWrapper>
99
  )
99
  )
100
}
100
}
Línea 101... Línea 101...
101
 
101
 
102
const Item = ({ suggest, btnLabelAccept }) => {
102
const Item = ({ suggest, btnLabelAccept }) => {