mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
5f3312a8ac
* ui: Add new consul-nspace-list component * ui: Use new consul-nspace-list component * Fix up other components to use linkable list-collection action * ui: Remove some dead CSS
12 lines
236 B
JavaScript
12 lines
236 B
JavaScript
import Component from '@ember/component';
|
|
import { get } from '@ember/object';
|
|
|
|
export default Component.extend({
|
|
tagName: '',
|
|
actions: {
|
|
isLinkable: function(item) {
|
|
return get(item, 'InstanceCount') > 0;
|
|
},
|
|
},
|
|
});
|