@brightspace-ui/core 2.1.2 → 2.1.3

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.
@@ -506,7 +506,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
506
506
  const changes = e.detail.changes;
507
507
  const dimension = this._dimensions.find(dimension => dimension.key === e.detail.dimensionKey);
508
508
  const value = e.detail.valueKey && dimension.values.find(value => value.key === e.detail.valueKey);
509
- const toUpdate = value ? value : dimension;
509
+ const toUpdate = e.detail.valueKey ? value : dimension;
510
510
 
511
511
  if (!toUpdate) return;
512
512
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",