From 8a23eaef1edf5fa1c8bce1678292dd335cdc21f4 Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 19:21:40 +0100 Subject: [PATCH] web/user: fix RAC launch not opening when clicking icon (cherry-pick #13164) (#13166) web/user: fix RAC launch not opening when clicking icon (#13164) Signed-off-by: Jens Langhammer Co-authored-by: Jens L. --- 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}