From 0a6efab7cb04a1d9a0cbaad771846e552dad60ab Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 15 Aug 2021 20:59:37 +0200 Subject: [PATCH] outposts: fix syntax Signed-off-by: Jens Langhammer --- authentik/outposts/controllers/docker.py | 2 +- web/src/pages/LibraryPage.ts | 20 ++++++++++++++------ web/tsconfig.json | 5 +---- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/authentik/outposts/controllers/docker.py b/authentik/outposts/controllers/docker.py index 09408c8ba..b93d4fd09 100644 --- a/authentik/outposts/controllers/docker.py +++ b/authentik/outposts/controllers/docker.py @@ -168,7 +168,7 @@ class DockerController(BaseController): def down(self): if self.outpost.managed != "": - return None + return try: container, _ = self._get_container() if container.status == "running": diff --git a/web/src/pages/LibraryPage.ts b/web/src/pages/LibraryPage.ts index f5fde9313..c0ed56ddf 100644 --- a/web/src/pages/LibraryPage.ts +++ b/web/src/pages/LibraryPage.ts @@ -73,17 +73,21 @@ export class LibraryApplication extends LitElement { return html`
${this.application.metaIcon - ? html`Application IconApplication Icon` : html``} ${until( me().then((u) => { if (!u.user.isSuperuser) return html``; return html` - + `; @@ -91,7 +95,11 @@ export class LibraryApplication extends LitElement { )}
-

${this.application.name}

+

+ ${this.application.name} +

${this.application.metaPublisher}
diff --git a/web/tsconfig.json b/web/tsconfig.json index de70f1b76..59f8ec37e 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -27,8 +27,5 @@ "strict": true } ] - }, - "exclude": [ - "api/src/", - ] + } }