web/admin: fix impersonate button layout (#5251)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
96e732e45b
commit
e123afd9ee
|
@ -200,12 +200,14 @@ export class UserViewPage extends AKElement {
|
|||
CapabilitiesEnum.Impersonate,
|
||||
)
|
||||
? html`
|
||||
<div class="pf-c-card__footer">
|
||||
<a
|
||||
class="pf-c-button pf-m-tertiary"
|
||||
href="${`/-/impersonation/${this.user?.pk}/`}"
|
||||
>
|
||||
${t`Impersonate`}
|
||||
</a>
|
||||
</div>
|
||||
`
|
||||
: html``}
|
||||
<div class="pf-c-card__footer">
|
||||
|
|
Reference in New Issue