1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

fix: fixes merged view and incorrect base. fixes #3248 (#3249)

This commit is contained in:
Amir Raminfar
2024-09-03 13:54:10 -07:00
committed by GitHub
parent 42e423fd2e
commit 2a3af94467
7 changed files with 20 additions and 39 deletions

View File

@@ -8,6 +8,7 @@
</div>
</div>
<MultiContainerStat class="ml-auto" :containers="containers" />
<MultiContainerActionToolbar class="mobile-hidden" @clear="viewer?.clear()" />
</div>
</template>
<template #default>
@@ -24,6 +25,7 @@
<script lang="ts" setup>
import ViewerWithSource from "@/components/LogViewer/ViewerWithSource.vue";
import { ComponentExposed } from "vue-component-type-helpers";
const { ids = [], scrollable = false } = defineProps<{
ids?: string[];
@@ -31,9 +33,9 @@ const { ids = [], scrollable = false } = defineProps<{
}>();
const containerStore = useContainerStore();
const viewer = ref<ComponentExposed<typeof ViewerWithSource>>();
const { allContainersById, ready } = storeToRefs(containerStore);
const containers = computed(() => ids.map((id) => allContainersById.value[id]));
provideLoggingContext(containers);
</script>