1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

removes running

This commit is contained in:
Amir Raminfar
2024-12-12 08:07:04 -08:00
parent 69d380e5bd
commit f50d45dcb2

View File

@@ -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],
);