From 1ba1a1def5cea1326b44bf38b8d92646f713a49d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 28 Jul 2023 17:11:20 +0200 Subject: [PATCH] web/user: fix app icon size for user interface Signed-off-by: Jens Langhammer --- web/src/user/LibraryApplication/AppIcon.ts | 2 +- web/src/user/LibraryApplication/index.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/user/LibraryApplication/AppIcon.ts b/web/src/user/LibraryApplication/AppIcon.ts index 34cd5c551..3280b7e9a 100644 --- a/web/src/user/LibraryApplication/AppIcon.ts +++ b/web/src/user/LibraryApplication/AppIcon.ts @@ -17,7 +17,7 @@ export class AppIcon extends AKElement { app?: Application; @property() - size: PFSize = PFSize.Large; + size?: PFSize; static get styles(): CSSResult[] { return [ diff --git a/web/src/user/LibraryApplication/index.ts b/web/src/user/LibraryApplication/index.ts index 412f825aa..b6a6df00c 100644 --- a/web/src/user/LibraryApplication/index.ts +++ b/web/src/user/LibraryApplication/index.ts @@ -1,3 +1,4 @@ +import { PFSize } from "@goauthentik/app/elements/Spinner"; import { truncateWords } from "@goauthentik/common/utils"; import { AKElement, rootInterface } from "@goauthentik/elements/Base"; import "@goauthentik/elements/Expand"; @@ -77,7 +78,7 @@ export class LibraryApplication extends AKElement { href="${ifDefined(this.application.launchUrl ?? "")}" target="${ifDefined(this.application.openInNewTab ? "_blank" : undefined)}" > - +