mirror of https://github.com/hashicorp/consul
ui: Remove refresh-route action for session invalidation (#11105)
* ui: Move action to the correct button for session invalidation * Remove refresh-route completely, its not neededpull/11057/head
parent
b22684540e
commit
e59b8ffc17
|
@ -74,7 +74,7 @@
|
||||||
<button data-test-delete
|
<button data-test-delete
|
||||||
type="button"
|
type="button"
|
||||||
class="type-delete"
|
class="type-delete"
|
||||||
onclick={{queue (action confirm onInvalidate item) (refresh-route)}}
|
onclick={{action confirm onInvalidate item}}
|
||||||
>
|
>
|
||||||
Invalidate
|
Invalidate
|
||||||
</button>
|
</button>
|
||||||
|
@ -83,8 +83,8 @@
|
||||||
<p>
|
<p>
|
||||||
{{message}}
|
{{message}}
|
||||||
</p>
|
</p>
|
||||||
<button type="button" class="type-delete" {{action execute}}>Confirm Invalidate</button>
|
<button type="button" class="type-delete" onclick={{action execute}}>Confirm Invalidate</button>
|
||||||
<button type="button" class="type-cancel" {{action cancel}}>Cancel</button>
|
<button type="button" class="type-cancel" onclick={{action cancel}}>Cancel</button>
|
||||||
</BlockSlot>
|
</BlockSlot>
|
||||||
</ConfirmationDialog>
|
</ConfirmationDialog>
|
||||||
</BlockSlot>
|
</BlockSlot>
|
||||||
|
|
Loading…
Reference in New Issue