Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1560 Rev 1567
Línea 10... Línea 10...
10
  ListItemText,
10
  ListItemText,
11
  Typography,
11
  Typography,
12
  styled
12
  styled
13
} from '@mui/material'
13
} from '@mui/material'
Línea 14... Línea 14...
14
 
14
 
15
import { axios } from '../../../utils'
15
import { axios } from '@app/utils'
16
import { addNotification } from '../../../redux/notification/notification.actions'
16
import { addNotification } from '@app/redux/notification/notification.actions'
Línea -... Línea 17...
-
 
17
import useFetch from '@app/hooks/useFetch'
17
import useFetch from '../../../hooks/useFetch'
18
 
18
 
-
 
Línea 19... Línea 19...
19
import WidgetWrapper from '../WidgetLayout'
19
import Button from '@app/components/UI/buttons/Buttons'
20
import { ButtonPrimary, ButtonSecondary } from '@buttons'
20
import WidgetWrapper from '../WidgetLayout'
21
 
21
 
22
const Header = styled(Box)(({ theme }) => ({
22
const Header = styled(Box)(({ theme }) => ({
Línea 93... Línea 93...
93
                  </ListItemAvatar>
93
                  </ListItemAvatar>
Línea 94... Línea 94...
94
 
94
 
Línea 95... Línea 95...
95
                  <ListItemText primary={name} />
95
                  <ListItemText primary={name} />
96
 
96
 
97
                  {link_request && (
97
                  {link_request && (
98
                    <ButtonPrimary
98
                    <Button
99
                      label={labels.connect}
99
                      variant='primary'
-
 
100
                      onClick={() => handleConnect(link_request)}
-
 
101
                    >
100
                      onClick={() => handleConnect(link_request)}
102
                      {labels.connect}
101
                    />
103
                    </Button>
102
                  )}
104
                  )}
103
                  {link_cancel && (
105
                  {link_cancel && (
104
                    <ButtonSecondary
106
                    <Button
105
                      label={labels.cancel}
107
                      variant='secondary'
-
 
108
                      onClick={() => handleConnect(link_cancel)}
-
 
109
                    >
106
                      onClick={() => handleConnect(link_cancel)}
110
                      {labels.cancel}
107
                    />
111
                    </Button>
108
                  )}
112
                  )}
109
                </ListItemButton>
113
                </ListItemButton>
110
              </ListItem>
114
              </ListItem>