forked from ddrilling/asb_cloud_front
Merge branch 'NewMeasures' of https://bitbucket.org/autodrilling/asb_cloud_front into NewMeasures
This commit is contained in:
commit
49997e7449
@ -32,7 +32,7 @@
|
||||
"react_test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"proxy": "http://192.168.1.70:5000",
|
||||
"proxy": "http://localhost:5000",
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
|
@ -38,7 +38,7 @@ export const MeasureTable = ({idWell, idCategory, title, columns, values, update
|
||||
|
||||
if(!selectedTimeLineId)
|
||||
valuesToDisplay = values && values.length
|
||||
? values[[values.length-1]]
|
||||
? values[values.length-1]
|
||||
: []
|
||||
else
|
||||
valuesToDisplay = values.find(el => el.id === selectedTimeLineId)
|
||||
|
Loading…
Reference in New Issue
Block a user