@trudb/tru-common-lib 0.2.349 → 0.2.350

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.
@@ -7740,7 +7740,7 @@ class TruDataGrid {
7740
7740
  enhancedEntity.$entity[this.config.parentTableRelationshipRefName] = this.entity[this.config.parentTableRefName];
7741
7741
  // remove item from the add dropdown control
7742
7742
  let itemIndex = this.unassociatedChoices.findIndex((choice) => {
7743
- return choice[this.config.resultConfig.entityManyToManyTypeNameWithPrefix + 'Ref'] === childToAssociate[unassociatedType.name + 'Ref'];
7743
+ return choice.value.$ === childToAssociate[unassociatedType.name + 'Ref'];
7744
7744
  });
7745
7745
  this.unassociatedChoices.splice(itemIndex, 1);
7746
7746
  // clear add selection