1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

feat: adds show hostname and container name to dropdown in mutli log mode (#3406)

This commit is contained in:
Amir Raminfar
2024-11-19 08:46:20 -08:00
committed by GitHub
parent 7ee260311e
commit bd7f6bc886
17 changed files with 79 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
<template>
<EventSource ref="source" #default="{ messages }" :stream-source="streamSource" :entity="entity">
<LogViewer :messages="messages" :visible-keys="visibleKeys" :show-container-name="showContainerName" />
<LogViewer :messages="messages" :visible-keys="visibleKeys" />
</EventSource>
</template>
@@ -9,10 +9,9 @@ import EventSource from "@/components/LogViewer/EventSource.vue";
import { LogStreamSource } from "@/composable/eventStreams";
import { ComponentExposed } from "vue-component-type-helpers";
const { streamSource, visibleKeys, showContainerName, entity } = defineProps<{
const { streamSource, visibleKeys, entity } = defineProps<{
streamSource: (t: Ref<T>) => LogStreamSource;
visibleKeys: Map<string[], boolean>;
showContainerName: boolean;
entity: T;
}>();