mirror of
https://github.com/status-im/consul.git
synced 2025-01-13 15:26:48 +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
8 lines
265 B
JavaScript
8 lines
265 B
JavaScript
export default (collection, clickable, attribute, text, actions) => () => {
|
|
return collection('.consul-nspace-list li:not(:first-child)', {
|
|
nspace: clickable('a'),
|
|
description: text('[data-test-description]'),
|
|
...actions(['edit', 'delete']),
|
|
});
|
|
};
|