note neede

This commit is contained in:
Luis Fernando Molina committed 2020-02-12 17:20:24 +01:00
1 parent b4d5c763cb
commit c270163a83
2 files changed
-2

No files matched your search

-1
View File
@@ -181,7 +181,6 @@ function newRateScale () {
function saveObjectState () {
try {
let code = JSON.parse(thisObject.payload.node.code)
code.scale = undefined
code.offset = thisObject.offset
code.minValue = coordinateSystem.min.y
code.maxValue = coordinateSystem.max.y
-1
View File
@@ -135,7 +135,6 @@ function newTimeScale () {
function saveObjectState () {
try {
let code = JSON.parse(thisObject.payload.node.code)
code.scale = undefined
code.fromDate = (new Date(coordinateSystem.min.x)).toISOString()
code.toDate = (new Date(coordinateSystem.max.x)).toISOString()
thisObject.payload.node.code = JSON.stringify(code, null, 4)