Remove lodash pull

(re: #6087)
This commit is contained in:
Bryan Housel
2019-03-25 22:03:39 -04:00
parent 1ce4f0ad6a
commit eb0d0a35d1
+1 -2
View File
@@ -1,4 +1,3 @@
import _pull from 'lodash-es/pull';
import _union from 'lodash-es/union';
import { dispatch as d3_dispatch } from 'd3-dispatch';
@@ -157,7 +156,7 @@ export function uiFieldRadio(field, context) {
field.keys = _union(field.keys, ['layer']);
} else {
layerField = null;
_pull(field.keys, 'layer');
field.keys = field.keys.filter(function(k) { return k !== 'layer'; });
}
var layerItem = list.selectAll('.structure-layer-item')