Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3201 Rev 3694
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react';
2
import {
-
 
3
  BusinessCenter,
2
import BusinessCenter from '@mui/icons-material/BusinessCenter';
4
  Chat,
3
import Chat from '@mui/icons-material/Chat';
5
  Groups,
4
import Groups from '@mui/icons-material/Groups';
6
  Home,
5
import Home from '@mui/icons-material/Home';
7
  People,
6
import People from '@mui/icons-material/People';
8
  School,
7
import School from '@mui/icons-material/School';
9
  Sell
-
 
10
} from '@mui/icons-material'
8
import Sell from '@mui/icons-material/Sell';
Línea 11... Línea 9...
11
 
9
 
12
import HeaderOptions from './navigation-item'
10
import HeaderOptions from './navigation-item';
Línea 13... Línea 11...
13
import UserOptions from './user-options'
11
import UserOptions from './user-options';
Línea 14... Línea 12...
14
 
12
 
15
const ICON_OPTIONS = [Home, People, BusinessCenter, Groups, Sell, Chat, School]
13
const ICON_OPTIONS = [Home, People, BusinessCenter, Groups, Sell, Chat, School];
16
 
14
 
17
const HeaderNavigation = ({
15
const HeaderNavigation = ({
Línea 39... Línea 37...
39
              title={item.label}
37
              title={item.label}
40
              url={item.href}
38
              url={item.href}
41
              childs={item.childs}
39
              childs={item.childs}
42
              ajaxRequest={item.ajax}
40
              ajaxRequest={item.ajax}
43
              isMobile={['Conocimiento', 'Comunicación'].includes(item.label)}
41
              isMobile={['Conocimiento', 'Comunicación'].includes(item.label)}
44
              count={
-
 
45
                !routes[index + 1] && (notificationsCount || messagesCount)
42
              count={!routes[index + 1] && (notificationsCount || messagesCount)}
46
              }
-
 
47
            />
43
            />
48
          )
44
          );
49
        })}
45
        })}
50
        <UserOptions
46
        <UserOptions
51
          image={image}
47
          image={image}
52
          name={fullName}
48
          name={fullName}
53
          adminUrl={linkAdmin}
49
          adminUrl={linkAdmin}
Línea 58... Línea 54...
58
          routeAdmin={urlAdmin}
54
          routeAdmin={urlAdmin}
59
          routeImpersonate={urlImpersonate}
55
          routeImpersonate={urlImpersonate}
60
        />
56
        />
61
      </ul>
57
      </ul>
62
    </nav>
58
    </nav>
63
  )
59
  );
64
}
60
};
Línea 65... Línea 61...
65
 
61