refactor of PR #526

This commit is contained in:
Alexander Zobnin
2018-02-20 22:21:24 +03:00
parent a9d0b4195e
commit ca6a7d02c4
10 changed files with 54 additions and 26 deletions

View File

@@ -85,7 +85,7 @@ System.register(['lodash', 'app/core/table_model', './constants'], function (_ex
var lastPoint = _.last(itemHistory);
var lastValue = lastPoint ? lastPoint.value : null;
if (target.table.skipEmptyValues && (!lastValue || lastValue === '')) {
if (target.options.skipEmptyValues && (!lastValue || lastValue === '')) {
return;
}