'use strict';
-import _ from 'lodash'
+import _isEmpty from 'lodash/isEmpty'
+import _cloneDeep from 'lodash/cloneDeep'
import d3 from 'd3'
import UID from './../UniqueId'
import guid from '../guid'
}
return (containerList, obj) => {
- if (_.isEmpty(obj)) {
+ if (_isEmpty(obj)) {
return containerList;
}
switch (obj.uiState.type) {
} else {
model = vnfdToWrap;
}
- return new VirtualNetworkFunctionReadOnlyWrapper(_.cloneDeep(model), parent);
+ return new VirtualNetworkFunctionReadOnlyWrapper(_cloneDeep(model), parent);
}
static newClassifier(model, parent) {