From 261e18b3d6a46caca2f5027b24f8d47a029151b4 Mon Sep 17 00:00:00 2001 From: "Jens L." Date: Fri, 21 Feb 2025 19:18:41 +0100 Subject: [PATCH] web/user: fix RAC launch not opening when clicking icon (#13164) Signed-off-by: Jens Langhammer --- web/src/user/LibraryApplication/index.ts | 51 +++++++++++++++--------- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/web/src/user/LibraryApplication/index.ts b/web/src/user/LibraryApplication/index.ts index ad445d6742..5b529a7f18 100644 --- a/web/src/user/LibraryApplication/index.ts +++ b/web/src/user/LibraryApplication/index.ts @@ -99,6 +99,19 @@ export class LibraryApplication extends AKElement { if (this.application?.launchUrl === "goauthentik.io://providers/rac/launch") { return html` + `; } - return html``; + return html`
+ + + +
+ `; } render(): TemplateResult { @@ -135,18 +160,6 @@ export class LibraryApplication extends AKElement { class="pf-c-card pf-m-hoverable pf-m-compact ${classMap(classes)}" style=${styleMap(styles)} > -
- - - -
${this.renderLaunch()}
${expandable ? this.renderExpansion(this.application) : nothing}