diff --git a/assets/components/LogViewer/EventSource.vue b/assets/components/LogViewer/EventSource.vue index 30ad7204..d451293f 100644 --- a/assets/components/LogViewer/EventSource.vue +++ b/assets/components/LogViewer/EventSource.vue @@ -22,7 +22,9 @@ const { entity, streamSource } = $defineProps<{ entity: T; }>(); -const { messages, loadOlderLogs, isLoadingMore, opened, loading, error, eventSourceURL } = streamSource($$(entity)); +const { messages, loadOlderLogs, isLoadingMore, opened, loading, error, eventSourceURL } = streamSource( + toRef(() => entity), +); const { loadingMore } = useLoggingContext(); const color = computed(() => { if (error.value) return "error"; diff --git a/assets/components/LogViewer/SkippedEntriesLogItem.vue b/assets/components/LogViewer/SkippedEntriesLogItem.vue index b7c8644d..30f2a4b8 100644 --- a/assets/components/LogViewer/SkippedEntriesLogItem.vue +++ b/assets/components/LogViewer/SkippedEntriesLogItem.vue @@ -2,16 +2,16 @@