consul/ui-v2/app/components/consul-nspace-list
John Cowen ec084cf79b
ui: Use a custom request for nspace deletion (#8878)
* Turn repo.remove into a custom action to bypass ember-data deletion

* Don't show actions on a deleting nspace
2020-10-08 16:00:52 +01:00
..
README.mdx ui: Namespaces Redesign (#8336) 2020-07-20 18:12:34 +01:00
index.hbs ui: Use a custom request for nspace deletion (#8878) 2020-10-08 16:00:52 +01: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

## 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)

---