diff --git a/web/src/pages/LibraryPage.ts b/web/src/pages/LibraryPage.ts index 3b33fb685..f5fde9313 100644 --- a/web/src/pages/LibraryPage.ts +++ b/web/src/pages/LibraryPage.ts @@ -25,6 +25,7 @@ import PFContent from "@patternfly/patternfly/components/Content/content.css"; import AKGlobal from "../authentik.css"; import PFAvatar from "@patternfly/patternfly/components/Avatar/avatar.css"; import PFGallery from "@patternfly/patternfly/layouts/Gallery/gallery.css"; +import PFButton from "@patternfly/patternfly/components/Button/button.css"; @customElement("ak-library-app") export class LibraryApplication extends LitElement { @@ -35,6 +36,7 @@ export class LibraryApplication extends LitElement { return [ PFBase, PFCard, + PFButton, PFAvatar, AKGlobal, css` @@ -68,23 +70,20 @@ export class LibraryApplication extends LitElement { if (!this.application) { return html``; } - return html` + return html` ${this.application.metaIcon - ? html`` + />` : html``} ${until( me().then((u) => { if (!u.user.isSuperuser) return html``; return html` - + `; @@ -92,13 +91,13 @@ export class LibraryApplication extends LitElement { )} - ${this.application.name} + ${this.application.name} ${this.application.metaPublisher} ${truncate(this.application.metaDescription, 35)} - `; + `; } }
${this.application.name}