web/admin: fix links which look like labels

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-25 16:13:30 +01:00
parent 96ae68cf09
commit 88d5aec618
2 changed files with 2 additions and 0 deletions

View File

@ -216,6 +216,7 @@ export class SAMLProviderViewPage extends LitElement {
${t`Download`} ${t`Download`}
</a> </a>
<ak-action-button <ak-action-button
class="pf-m-secondary"
.apiRequest=${() => { .apiRequest=${() => {
const fullUrl = const fullUrl =
window.location.origin + window.location.origin +

View File

@ -227,6 +227,7 @@ export class UserListPage extends TablePage<User> {
} }
return html` return html`
<ak-action-button <ak-action-button
class="pf-m-secondary"
.apiRequest=${() => { .apiRequest=${() => {
return new CoreApi(DEFAULT_CONFIG) return new CoreApi(DEFAULT_CONFIG)
.coreUsersRecoveryRetrieve({ .coreUsersRecoveryRetrieve({