@fleetbase/ember-ui 0.3.17 → 0.3.18

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.
@@ -21,7 +21,7 @@ export default class LayoutHeaderDropdownItemComponent extends Component {
21
21
  }
22
22
 
23
23
  @computed('args.item.{component,onClick}') get isComponent() {
24
- if (this.args.item.component instanceof ExtensionComponent) return true;
24
+ if (this.args.item.component instanceof ExtensionComponent && typeof this.args.item.onClick !== 'function') return true;
25
25
 
26
26
  return this.args.item && typeof this.args.item.component === 'string' && typeof this.args.item.onClick !== 'function';
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleetbase/ember-ui",
3
- "version": "0.3.17",
3
+ "version": "0.3.18",
4
4
  "description": "Fleetbase UI provides all the interface components, helpers, services and utilities for building a Fleetbase extension into the Console.",
5
5
  "keywords": [
6
6
  "fleetbase-ui",