summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/components/Tables/tableParts
diff options
context:
space:
mode:
Diffstat (limited to 'front/odiparpack/app/components/Tables/tableParts')
-rw-r--r--front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js10
-rw-r--r--front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js2
2 files changed, 11 insertions, 1 deletions
diff --git a/front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js b/front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js
index d060d02..f6be3fd 100644
--- a/front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js
+++ b/front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js
@@ -46,6 +46,9 @@ class RowReadOnly extends React.Component {
case 'etiq_camion':
case 'etiq_bloqueo':
case 'etiq_alma':
+ case 'etiq_ruta':
+ case 'etiq_tipoAveria':
+ case 'etiq_estadoAveria':
return (
<TableCell padding="none" key={index.toString()}>
{etiqueta(inputType, item.get(itemCell.name))}
@@ -57,6 +60,13 @@ class RowReadOnly extends React.Component {
{item.get(itemCell.name) !== undefined ? item.get(itemCell.name).toString() : ''}
</TableCell>
);
+ case 'averia_ubicacion':
+ return (
+ <TableCell padding="none" key={index.toString()}>
+ Longitud: {item.get('longitud') !== undefined ? item.get('longitud').toString() : ''}
+ {'\u00A0'} Latitud: {item.get('latitud') !== undefined ? item.get('latitud').toString() : ''}
+ </TableCell>
+ );
}
}
return false;
diff --git a/front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js b/front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js
index bede0b8..bef1ac7 100644
--- a/front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js
+++ b/front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js
@@ -6,7 +6,7 @@ const styles = theme => ({
rootTable: {
width: '100%',
marginTop: theme.spacing(3),
- overflowX: 'auto',
+ overflowX: 'hidden',
},
highlight:
theme.palette.type === 'light' ? {