Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5121 Rev 5124
Línea 39... Línea 39...
39
      page: currentPage
39
      page: currentPage
40
    })
40
    })
41
  }, [currentPage, search])
41
  }, [currentPage, search])
Línea 42... Línea 42...
42
 
42
 
43
  return (
43
  return (
44
    <section className="companies-info">
-
 
45
      <div className="container">
44
    <section className="companies-info container">
46
        <TitleSection title={LABELS.FIRST_LEVEL_PERSONS} />
45
      <TitleSection title={LABELS.FIRST_LEVEL_PERSONS} />
47
        <SearchList onChange={(value) => setSearch(value)}/>
46
      <SearchList onChange={(value) => setSearch(value)} />
48
        <div className="companies-list" style={{ position: 'relative', padding: '0 15px' }}>
47
      <div className="companies-list" style={{ position: 'relative', padding: '0 15px' }}>
49
          {myConnections.length
48
        {myConnections.length
50
            ? myConnections.map(({
49
          ? myConnections.map(({
51
              image,
50
            image,
52
              name,
51
            name,
53
              link_view,
52
            link_view,
54
              link_inmail,
53
            link_inmail,
55
              link_cancel,
54
            link_cancel,
56
              link_block
55
            link_block
57
            }, id) =>
56
          }, id) =>
58
              <Profile
57
            <Profile
59
                isTopData
58
              isTopData
60
                key={id}
59
              key={id}
61
                image={image}
60
              image={image}
62
                name={name}
61
              name={name}
63
                link_inmail={link_inmail}
62
              link_inmail={link_inmail}
64
                link_view={link_view}
63
              link_view={link_view}
65
                link_cancel={link_cancel}
64
              link_cancel={link_cancel}
66
                link_block={link_block}
65
              link_block={link_block}
67
                fetchCallback={fetchMyConnections}
66
              fetchCallback={fetchMyConnections}
68
              />
67
            />
69
            )
68
          )
70
            : <EmptySection align='left' message={LABELS.DATATABLE_SZERORECORDS}/>
69
          : <EmptySection align='left' message={LABELS.DATATABLE_SZERORECORDS} />
71
          }
70
        }
72
          {loading && <Spinner />}
-
 
73
        </div>
-
 
74
        <PaginationComponent
-
 
75
          onChangePage={handleChangePage}
-
 
76
          pages={pages}
-
 
77
          currentActivePage={currentPage}
-
 
78
          isRow={true}
-
 
79
        />
71
        {loading && <Spinner />}
-
 
72
      </div>
-
 
73
      <PaginationComponent
-
 
74
        onChangePage={handleChangePage}
-
 
75
        pages={pages}
-
 
76
        currentActivePage={currentPage}
-
 
77
        isRow={true}
80
      </div>
78
      />
81
    </section>
79
    </section>
82
  )
80
  )
Línea 83... Línea 81...
83
}
81
}