diff --git a/assets/components/LogViewer/ComplexLogItem.vue b/assets/components/LogViewer/ComplexLogItem.vue index 5b7b6fd7..3210660f 100644 --- a/assets/components/LogViewer/ComplexLogItem.vue +++ b/assets/components/LogViewer/ComplexLogItem.vue @@ -1,21 +1,30 @@ @@ -31,6 +40,8 @@ const { logEntry } = defineProps<{ const { containers } = useLoggingContext(); +const [DefineTemplate, ReuseTemplate] = createReusableTemplate(); + const validValues = computed(() => { return Object.fromEntries(Object.entries(logEntry.message).filter(([_, value]) => value !== undefined)); }); @@ -45,7 +56,19 @@ function preventDefaultOnLinks(event: MouseEvent) { diff --git a/assets/components/LogViewer/LogActions.vue b/assets/components/LogViewer/LogActions.vue index a0c6fe89..2d8a17dd 100644 --- a/assets/components/LogViewer/LogActions.vue +++ b/assets/components/LogViewer/LogActions.vue @@ -61,6 +61,7 @@ @@ -53,4 +63,8 @@ defineProps<{ [data-level="warn"] { @apply !bg-orange; } + +[data-level="unknown"].show-unknown { + @apply !bg-base-300; +}