@api-client/ui 0.6.2 → 0.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@api-client/ui",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Internal UI component library for the API Client ecosystem.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "build/src/index.js",
@@ -332,7 +332,10 @@ export default class DomainBrowser extends ModelingElement {
332
332
  }
333
333
  this.setupAllowedSelection(state)
334
334
  this.requestUpdate()
335
- this.notifySelected(state.selected)
335
+ if (this.hasAllowedSelection) {
336
+ // We only notify the selection if it is allowed.
337
+ this.notifySelected(state.selected)
338
+ }
336
339
  }
337
340
 
338
341
  notifySelected(selected: DomainBrowseSelectedItem | undefined): void {