Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7573 Rev 7583
Línea 6... Línea 6...
6
import PaginationComponent from "../../shared/PaginationComponent";
6
import PaginationComponent from "../../shared/PaginationComponent";
7
import ContentTitle from "../../shared/ContentTitle";
7
import ContentTitle from "../../shared/ContentTitle";
Línea 8... Línea 8...
8
 
8
 
9
const Followers = ({ backendVars }) => {
9
const Followers = ({ backendVars }) => {
10
  // backendVars destructuring
10
  // backendVars destructuring
11
  const { table_link } = backendVars;
11
  const { table_link, allowDelete } = backendVars;
12
  // states
12
  // states
13
  const [followers, setFollowers] = useState([]);
13
  const [followers, setFollowers] = useState([]);
14
  const [loading, setLoading] = useState(true);
14
  const [loading, setLoading] = useState(true);
15
  const [pages, setPages] = useState(1);
15
  const [pages, setPages] = useState(1);
Línea 97... Línea 97...
97
              key={index}
97
              key={index}
98
              first_name={first_name}
98
              first_name={first_name}
99
              last_name={last_name}
99
              last_name={last_name}
100
              email={email}
100
              email={email}
101
              actions={actions}
101
              actions={actions}
-
 
102
              allowDelete={allowDelete}
102
            />
103
            />
103
          ))}
104
          ))}
104
          <PaginationComponent
105
          <PaginationComponent
105
            pages={pages}
106
            pages={pages}
106
            currentPage={currentPage}
107
            currentPage={currentPage}