From f50d45dcb2a771c334c65be1c4d8885e950ae0b5 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Thu, 12 Dec 2024 08:07:04 -0800 Subject: [PATCH] removes running --- assets/components/LogViewer/ContainerEventLogItem.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/assets/components/LogViewer/ContainerEventLogItem.vue b/assets/components/LogViewer/ContainerEventLogItem.vue index b7c53e06..22eaa5cd 100644 --- a/assets/components/LogViewer/ContainerEventLogItem.vue +++ b/assets/components/LogViewer/ContainerEventLogItem.vue @@ -49,10 +49,7 @@ const nextContainer = computed( [ ...allContainers.value.filter( (c) => - c.host === container.value.host && - c.created > container.value.created && - c.name === container.value.name && - c.state === "running", + c.host === container.value.host && c.created > container.value.created && c.name === container.value.name, ), ].sort((a, b) => +a.created - +b.created)[0], );