open-consul/ui-v2/app/components/consul-nspace-list
Kenia 9e711b2792
ui: Add sorting to namespaces (#8405)
* Add sorting to namespaces

* Add sorting to namespaces

* ui: Fix up default namespace no delete test (#8467)

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2020-08-10 10:54:51 -04:00
..
index.hbs ui: Add sorting to namespaces (#8405) 2020-08-10 10:54:51 -04:00
index.js ui: Namespaces Redesign (#8336) 2020-07-20 18:12:34 +01:00
pageobject.js ui: Add sorting to namespaces (#8405) 2020-08-10 10:54:51 -04:00
README.mdx ui: Namespaces Redesign (#8336) 2020-07-20 18:12:34 +01:00

## ConsulNspaceList

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

A presentational component for rendering Consul Namespaces

### Arguments

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

### See

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

---