open-consul/ui-v2/app/components/consul-nspace-list/index.js
John Cowen 59585f71a7
ui: Namespaces Redesign (#8336)
* 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
2020-07-20 18:12:34 +01:00

11 lines
184 B
JavaScript

import Component from '@ember/component';
export default Component.extend({
tagName: '',
actions: {
isLinkable: function(item) {
return !item.DeletedAt;
},
},
});