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 needed
pull/11057/head
John Cowen 2021-09-24 12:10:10 +01:00 committed by GitHub
parent b22684540e
commit e59b8ffc17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@
<button data-test-delete
type="button"
class="type-delete"
onclick={{queue (action confirm onInvalidate item) (refresh-route)}}
onclick={{action confirm onInvalidate item}}
>
Invalidate
</button>
@ -83,8 +83,8 @@
<p>
{{message}}
</p>
<button type="button" class="type-delete" {{action execute}}>Confirm Invalidate</button>
<button type="button" class="type-cancel" {{action cancel}}>Cancel</button>
<button type="button" class="type-delete" onclick={{action execute}}>Confirm Invalidate</button>
<button type="button" class="type-cancel" onclick={{action cancel}}>Cancel</button>
</BlockSlot>
</ConfirmationDialog>
</BlockSlot>