From 0cdba8c329d59b8ec030ea19a39cdba324ef0f69 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 12 Oct 2022 19:53:21 +0000 Subject: [PATCH] fix: single container logs and usage with compose --- apps/ui/src/routes/applications/[id]/logs/index.svelte | 2 -- apps/ui/src/routes/applications/[id]/usage.svelte | 1 - 2 files changed, 3 deletions(-) diff --git a/apps/ui/src/routes/applications/[id]/logs/index.svelte b/apps/ui/src/routes/applications/[id]/logs/index.svelte index 2de662d12..0ae68068e 100644 --- a/apps/ui/src/routes/applications/[id]/logs/index.svelte +++ b/apps/ui/src/routes/applications/[id]/logs/index.svelte @@ -93,8 +93,6 @@ } } async function selectService(service: any, init: boolean = false) { - if (services.length === 1 && init) return; - if (loadLogsInterval) clearInterval(loadLogsInterval); if (followingInterval) clearInterval(followingInterval); diff --git a/apps/ui/src/routes/applications/[id]/usage.svelte b/apps/ui/src/routes/applications/[id]/usage.svelte index 395fd0bf1..b0f10a63d 100644 --- a/apps/ui/src/routes/applications/[id]/usage.svelte +++ b/apps/ui/src/routes/applications/[id]/usage.svelte @@ -35,7 +35,6 @@ return tempdockerComposeServices; } async function selectService(service: any, init: boolean = false) { - if (services.length === 1 && init) return; if (usageInterval) clearInterval(usageInterval); usageLoading = false; usage = {