open-consul/ui-v2/app/components/consul-lock-session-list
Kenia 92c2614f6a
ui: Redesign Node Lock Sessions Tab (#8535)
* Add delay svg icon

* Create ConsulLockSessionList component

* Implement ConsulLockSession component in Lock Sessions tab

* Create format-time helper

* Add Invalidate button and fix up styling

* Fixup and add additional tests
2020-08-20 10:29:16 -04:00
..
README.mdx ui: Redesign Node Lock Sessions Tab (#8535) 2020-08-20 10:29:16 -04:00
index.hbs ui: Redesign Node Lock Sessions Tab (#8535) 2020-08-20 10:29:16 -04:00
index.js ui: Redesign Node Lock Sessions Tab (#8535) 2020-08-20 10:29:16 -04: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)

---