mftsccs-browser 1.1.8 → 1.1.9

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/dist/bundle.js CHANGED
@@ -3506,7 +3506,15 @@ class BinaryTypeTree {
3506
3506
  if (node) {
3507
3507
  conceptIds = node.value;
3508
3508
  for (let i = 0; i < conceptIds.length; i++) {
3509
- concepts.push(yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(conceptIds[i]));
3509
+ let alreadyExist = false;
3510
+ for (let j = 0; j < concepts.length; j++) {
3511
+ if (concepts[j].id == conceptIds[i]) {
3512
+ alreadyExist = true;
3513
+ }
3514
+ }
3515
+ if (!alreadyExist) {
3516
+ concepts.push(yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(conceptIds[i]));
3517
+ }
3510
3518
  }
3511
3519
  }
3512
3520
  return concepts;