summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/components/Tables
diff options
context:
space:
mode:
Diffstat (limited to 'front/odiparpack/app/components/Tables')
-rw-r--r--front/odiparpack/app/components/Tables/CrudTableForm.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/front/odiparpack/app/components/Tables/CrudTableForm.js b/front/odiparpack/app/components/Tables/CrudTableForm.js
index 0ba5264..017a3fc 100644
--- a/front/odiparpack/app/components/Tables/CrudTableForm.js
+++ b/front/odiparpack/app/components/Tables/CrudTableForm.js
@@ -5,10 +5,13 @@ import MainTableForm from './tableParts/MainTableForm';
import FloatingPanel from './../Panel/FloatingPanel';
class CrudTableForm extends React.Component {
+ /* componentDidMount(){
+ this.props.fetchData(this.props.dataInit, this.props.branch);
+ } */
componentDidUpdate(previousProps) {
if (previousProps.dataInit !== this.props.dataInit) {
- //console.log("en el FORM",this.props.dataInit)
+ //console.log("en el FORM",this.props.dataInit)}
this.props.fetchData(this.props.dataInit, this.props.branch);
}
}