This commit is contained in:
Lachlan Kermode
2018-12-13 16:49:23 +00:00
parent bbee0c2896
commit b37e49880a
5 changed files with 1 additions and 8 deletions

View File

@@ -1,4 +1,3 @@
import R from 'ramda'
import { fmtObj } from '../lib/util'
/**
@@ -46,7 +45,7 @@ export default (data) => {
// generate deep row labels using structure
Object.keys(structure)
.forEach(newLabel => {
if (newLabel != '__flat') {
if (newLabel !== '__flat') {
const oldLabels = structure[newLabel]
// only add new value if not ''
const labelValues = []