diff options
| author | gabrhr <[email protected]> | 2022-05-27 12:50:13 -0500 |
|---|---|---|
| committer | gabrhr <[email protected]> | 2022-05-27 12:50:13 -0500 |
| commit | 9c396976bb42a9d41407358ce1a1d37242230f21 (patch) | |
| tree | 41b5fdf7d321f70c7e39bb788ef6ce0db6b4a6e3 /front/odiparpack/app/components/Tables | |
| parent | 55c0f57d42d82f1f1f5809e9c7d6845b6e0b68af (diff) | |
| download | DP1_project-9c396976bb42a9d41407358ce1a1d37242230f21.tar.gz DP1_project-9c396976bb42a9d41407358ce1a1d37242230f21.tar.bz2 DP1_project-9c396976bb42a9d41407358ce1a1d37242230f21.zip | |
Add redux, dispatch and etiquetas
- estetica de etiquetas (ok)
- add message, pedido Reducer
- add dispatch en Componentes con connect
- add api reducer que obtienen el JSON todo ok
#TODO
- FIX logica de aƱadiir
- FIX axios y dispatch fuera de un componente
Diffstat (limited to 'front/odiparpack/app/components/Tables')
| -rw-r--r-- | front/odiparpack/app/components/Tables/CrudTableForm.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/front/odiparpack/app/components/Tables/CrudTableForm.js b/front/odiparpack/app/components/Tables/CrudTableForm.js index d2d2ea8..219fcd2 100644 --- a/front/odiparpack/app/components/Tables/CrudTableForm.js +++ b/front/odiparpack/app/components/Tables/CrudTableForm.js @@ -6,6 +6,7 @@ import FloatingPanel from './../Panel/FloatingPanel'; class CrudTableForm extends React.Component { componentDidMount() { + console.log("en el FORM",this.props.dataInit) this.props.fetchData(this.props.dataInit, this.props.branch); } @@ -31,6 +32,7 @@ class CrudTableForm extends React.Component { } = this.props; return ( <div> + <FloatingPanel openForm={openForm} branch={branch} closeForm={closeForm}> <Form onSubmit={this.sendValues} initValues={initValues} branch={branch}> {children} |
