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

@@ -67,7 +67,7 @@ function handleHistoryAsTable(history, items, target) {
let lastPoint = _.last(itemHistory);
let lastValue = lastPoint ? lastPoint.value : null;
if(target.table.skipEmptyValues && (!lastValue || lastValue === '')) {
if(target.options.skipEmptyValues && (!lastValue || lastValue === '')) {
return;
}