From 6f5fc69d4c518efb54814efa028baed797008ab3 Mon Sep 17 00:00:00 2001 From: gabrhr <73925454+gabrhr@users.noreply.github.com> Date: Sun, 5 Jun 2022 18:37:58 -0500 Subject: Add get Camiones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit redux y más funciona de camiones #TODO - añadir todos los puntos - Mejorar el path del punto con funcion - añadir tiempos segun distancia - estetica al final (camion, colores, etc) - Arreglar combos - Añadir los reducer de pedidos, rutas, almacen --- front/odiparpack/app/components/Tables/CrudTableForm.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'front/odiparpack/app/components') diff --git a/front/odiparpack/app/components/Tables/CrudTableForm.js b/front/odiparpack/app/components/Tables/CrudTableForm.js index 8b7e6d5..017a3fc 100644 --- a/front/odiparpack/app/components/Tables/CrudTableForm.js +++ b/front/odiparpack/app/components/Tables/CrudTableForm.js @@ -5,16 +5,16 @@ import MainTableForm from './tableParts/MainTableForm'; import FloatingPanel from './../Panel/FloatingPanel'; class CrudTableForm extends React.Component { - componentDidMount(){ + /* componentDidMount(){ this.props.fetchData(this.props.dataInit, this.props.branch); - } + } */ - /* componentDidUpdate(previousProps) { + componentDidUpdate(previousProps) { if (previousProps.dataInit !== this.props.dataInit) { //console.log("en el FORM",this.props.dataInit)} this.props.fetchData(this.props.dataInit, this.props.branch); } - } */ + } sendValues = (values) => { setTimeout(() => { -- cgit v1.2.3