qms-angular 1.1.68 → 1.1.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2015/qms-angular.js
CHANGED
@@ -35332,8 +35332,10 @@ class SelectDepartmentTreeComponent {
|
|
35332
35332
|
const checkExistInResult = (node) => this.resultSelected.findIndex(x => x.id === node.id) > -1;
|
35333
35333
|
if (added.length) {
|
35334
35334
|
let selectedNode = null;
|
35335
|
-
this.isPushingChildNodes.emit(true);
|
35336
35335
|
const allChildNode = [];
|
35336
|
+
if (added.length > 1) {
|
35337
|
+
this.isPushingChildNodes.emit(true);
|
35338
|
+
}
|
35337
35339
|
added.forEach(node => {
|
35338
35340
|
allChildNode.push(Object.assign({}, node));
|
35339
35341
|
const nestedNode = _.cloneDeep(this.convertToNestedNode(node));
|