web: only show applications with http link
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
9c9c00755a
commit
8794c840cf
|
@ -31,7 +31,6 @@ def create_test_admin_user(name: Optional[str] = None, set_password=False) -> Us
|
|||
name=uid,
|
||||
email=f"{uid}@goauthentik.io",
|
||||
)
|
||||
if set_password:
|
||||
user.set_password(uid)
|
||||
user.save()
|
||||
group.users.add(user)
|
||||
|
|
|
@ -98,7 +98,9 @@ export class LibraryPage extends LitElement {
|
|||
renderApps(config: UIConfig): TemplateResult {
|
||||
return html`<div class="pf-l-gallery pf-m-gutter">
|
||||
${this.apps?.results
|
||||
.filter((app) => app.launchUrl)
|
||||
.filter((app) => {
|
||||
return app.launchUrl && app.launchUrl.startsWith("http");
|
||||
})
|
||||
.map(
|
||||
(app) =>
|
||||
html`<ak-library-app
|
||||
|
|
Reference in New Issue