mirror of https://github.com/hashicorp/consul
25 lines
550 B
Plaintext
25 lines
550 B
Plaintext
|
## 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)
|
||
|
|
||
|
---
|