open-consul/ui-v2/app/components/consul-role-list
Kenia b6cf6ab6cd
ui: Add sorting to Roles (#8369)
* Add sorting to ACLs roles with comparator

* Add acls/roles sorting test

* Add navigation feature test to roles

* Update onchange value target for sorting roles
2020-07-29 10:55:38 -04:00
..
README.mdx ui: Add some missed spaces in component README files (#8335) 2020-07-20 17:43:10 +01:00
index.hbs
index.js
pageobject.js ui: Add sorting to Roles (#8369) 2020-07-29 10:55:38 -04:00

README.mdx

## ConsulRoleList

```
<ConsulRoleList
  @items={{items}}
  @ondelete={{action 'delete'}}
/>
```

A presentational component for rendering Consul ACL roles

### Arguments

| Argument/Attribute | Type | Default | Description |
| --- | --- | --- | --- |
| `items` | `array` |  | An array of ACL roles  |
| `ondelete` | `function` |  | An action to execute when the `Delete` action is clicked |

### See

- [Component Source Code](./index.js)
- [Template Source Code](./index.hbs)

---