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

View File

@@ -1,4 +1,3 @@
import R from 'ramda'
import { fmtObj } from '../lib/util' import { fmtObj } from '../lib/util'
/** /**

View File

@@ -1,4 +1,3 @@
import R from 'ramda'
import { fmtObj } from '../lib/util' import { fmtObj } from '../lib/util'
/** /**

View File

@@ -1,4 +1,3 @@
import R from 'ramda'
import { fmtObj } from '../lib/util' import { fmtObj } from '../lib/util'
/** /**

View File

@@ -1,6 +1,3 @@
import R from 'ramda'
import { fmtObj } from '../lib/util'
/** /**
* Each resource item is inserted into a tree. TODO: describe layout. * Each resource item is inserted into a tree. TODO: describe layout.
* *