open-consul/ui-v2/app/components/consul/lock-session/list
John Cowen 34b9ea94d1
ui: Move to a nested folder structure for Consul prefixed components (#8937)
* ui: Move all consul-* components to nested consul/* components

* Move tomography-graph

* Remove old basic rendering tests
2020-10-14 09:03:39 +01:00
..
README.mdx ui: Move to a nested folder structure for Consul prefixed components (#8937) 2020-10-14 09:03:39 +01:00
index.hbs ui: Move to a nested folder structure for Consul prefixed components (#8937) 2020-10-14 09:03:39 +01:00
index.js ui: Move to a nested folder structure for Consul prefixed components (#8937) 2020-10-14 09:03:39 +01:00

README.mdx

## ConsulLockSessionList

```
<ConsulLockSessionList
  @items={{items}}
  @onInvalidate={{action send 'invalidateSession'}}
/>
```

A presentational component for rendering Node Lock Sessions

### Arguments

| Argument/Attribute | Type | Default | Description |
| --- | --- | --- | --- |
| `items` | `array` |  | An array of Node Lock Sessions  |
| `onInvalidate` | `function` |  | An action to confirm when the `Invalidate` action is clicked and confirmed |

### See

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

---