Commit 217608e7 authored by Federico Santiago Luongo Gonnet's avatar Federico Santiago Luongo Gonnet
Browse files

Se limpian logs

parent 2af20110
...@@ -326,7 +326,6 @@ export function newSelected(selectItems) { ...@@ -326,7 +326,6 @@ export function newSelected(selectItems) {
} }
updateSelectedMatrix(dispatch); updateSelectedMatrix(dispatch);
}catch (ex) { }catch (ex) {
//console.log('error al armado la matriz',ex)
//toast.createWarningMessage('No es posible guardar como función las tuberías seleccionadas',) //toast.createWarningMessage('No es posible guardar como función las tuberías seleccionadas',)
} }
......
...@@ -109,9 +109,6 @@ export class DummyPipe extends React.Component { ...@@ -109,9 +109,6 @@ export class DummyPipe extends React.Component {
} else if (pipe.dir.bottom) { } else if (pipe.dir.bottom) {
return (<BottomLeft className={this.createDummyPipeOutput(pipe.dir.left, mid)}/>) return (<BottomLeft className={this.createDummyPipeOutput(pipe.dir.left, mid)}/>)
} else { } else {
console.log("this.createDummyPipeOutput(pipe.dir.left, mid) "+ this.createDummyPipeOutput(pipe.dir.left, mid));
console.log("pipe.dir.left "+ pipe.dir.left);
console.log("mid "+ mid);
return <LI className={this.createDummyPipeOutput(pipe.dir.left, mid)}/> return <LI className={this.createDummyPipeOutput(pipe.dir.left, mid)}/>
} }
} else if (pipe.dir.bottom) { } else if (pipe.dir.bottom) {
...@@ -129,17 +126,10 @@ export class DummyPipe extends React.Component { ...@@ -129,17 +126,10 @@ export class DummyPipe extends React.Component {
if (pipe.multipipeTypes == 'NUMBER' || if (pipe.multipipeTypes == 'NUMBER' ||
pipe.multipipeTypes == 'COLOR' || pipe.multipipeTypes == 'COLOR' ||
pipe.multipipeTypes == 'FIGURE'){ pipe.multipipeTypes == 'FIGURE'){
console.log("ENTRO AL IF");
var types = [VALUES_TYPES.MULTIPIPE_OUT, pipe.multipipeTypes,pipe.multipipeTypes, var types = [VALUES_TYPES.MULTIPIPE_OUT, pipe.multipipeTypes,pipe.multipipeTypes,
pipe.multipipeTypes,pipe.multipipeTypes, pipe.multipipeTypes]; pipe.multipipeTypes,pipe.multipipeTypes, pipe.multipipeTypes];
var typesInverted = types; var typesInverted = types;
}else{ }else{
console.log("ENTRO AL ELSE");
console.log("pipe.multipipeTypes "+ pipe.multipipeTypes);
console.log("pipe.dir.bottom "+ pipe.dir.bottom);
console.log("pipe.dir.top "+ pipe.dir.top);
console.log("pipe.dir.left "+ pipe.dir.left);
console.log("pipe.dir.right "+ pipe.dir.right);
var types = [VALUES_TYPES.MULTIPIPE_OUT,pipe.multipipeTypes[0],pipe.multipipeTypes[0], var types = [VALUES_TYPES.MULTIPIPE_OUT,pipe.multipipeTypes[0],pipe.multipipeTypes[0],
'MID_MULTIPIPE',pipe.multipipeTypes[1],pipe.multipipeTypes[1]]; 'MID_MULTIPIPE',pipe.multipipeTypes[1],pipe.multipipeTypes[1]];
...@@ -231,7 +221,6 @@ export class DummyPipe extends React.Component { ...@@ -231,7 +221,6 @@ export class DummyPipe extends React.Component {
} else if (pipe.dir.left) { } else if (pipe.dir.left) {
if (pipe.dir.right) { if (pipe.dir.right) {
if (pipe.dir.bottom) { if (pipe.dir.bottom) {
console.log("pipe.inDirections[0] "+pipe.inDirections[0]);
if (pipe.inDirections[0] == "BOTTOM"){ if (pipe.inDirections[0] == "BOTTOM"){
return (<BRL_B className={types}/>) return (<BRL_B className={types}/>)
} }
...@@ -274,7 +263,6 @@ export class DummyPipe extends React.Component { ...@@ -274,7 +263,6 @@ export class DummyPipe extends React.Component {
} else if (pipe.dir.right) { } else if (pipe.dir.right) {
return (<RI className={types}/>); return (<RI className={types}/>);
} }
console.log("ACA LLEGO");
return (<O/>); return (<O/>);
} }
} }
......
...@@ -37,10 +37,10 @@ function onOpenHandler(resolve) { ...@@ -37,10 +37,10 @@ function onOpenHandler(resolve) {
function onCloseHandler(e) { function onCloseHandler(e) {
console.warn('disconnected', e); console.warn('disconnected', e);
if(e.reason == "Sin permisos"){ if(e.reason == "Sin permisos"){
console.log("Entro Disconect"); console.log("Disconect");
disconnect(); disconnect();
} else{ } else{
console.log("Entro openConnection"); console.log("openConnection");
openConnection(lastUserData); openConnection(lastUserData);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment