Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 9506 Rev 9511
Línea 7... Línea 7...
7
  { key: "maximum_no_of_employee", label: "Máximo", isSorteable: true },
7
  { key: "maximum_no_of_employee", label: "Máximo", isSorteable: true },
8
  { key: "status", label: "Activo", isSorteable: false },
8
  { key: "status", label: "Activo", isSorteable: false },
9
  { key: "actions", label: "Acciones", isSorteable: false }
9
  { key: "actions", label: "Acciones", isSorteable: false }
10
]
10
]
Línea 11... Línea 11...
11
 
11
 
Línea 12... Línea -...
12
const MainView = (props) => {
-
 
13
 
-
 
14
  console.log(props)
12
const MainView = ({ add_link, dashboard_link, permisions, table_link }) => {
Línea 15... Línea 13...
15
  /* const { table_link } = backendVars
13
 
Línea 16... Línea 14...
16
  const [data, setData] = useState({})
14
  const [data, setData] = useState({})
Línea 28... Línea 26...
28
      .catch((err) => console.log(err))
26
      .catch((err) => console.log(err))
29
  }
27
  }
Línea 30... Línea 28...
30
 
28
 
31
  useEffect(() => {
29
  useEffect(() => {
32
    getData(table_link)
30
    getData(table_link)
Línea 33... Línea 31...
33
  }, []) */
31
  }, [])
34
 
32
 
35
  return (
33
  return (
36
    <h1>Hello</h1>
34
    <h1>Hello</h1>