@trudb/tru-common-lib 0.0.292 → 0.0.293

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.
@@ -200,7 +200,7 @@ class TruContextFilters {
200
200
  this.filters = [];
201
201
  this.selectedContextFilterChoices = [];
202
202
  this.valueFor = (tableName) => {
203
- let choice = this.selectedContextFilterChoices.find(f => f.table === tableName);
203
+ let choice = this.filters.find(f => f.selectedChoice.table === tableName)?.selectedChoice;
204
204
  if (!choice)
205
205
  throw new Error('ContextFilterChoice not found. Possible invalid configuration.');
206
206
  return choice.ref;