consul/ui-v2/app/components/consul-service-list/index.js

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;
},
},
});