diff --git a/client-vue/src/App.vue b/client-vue/src/App.vue index e96aa8f7..853e5d24 100644 --- a/client-vue/src/App.vue +++ b/client-vue/src/App.vue @@ -395,7 +395,7 @@ function handleWebsocketMessage(action: WebhookAction, data: any) { // merge log lines const newLines: WinstonLogLine[] = data; - if (newLines.some((line) => line.metadata.timestamp && parseISO(line.metadata.timestamp).getDay() != new Date().getDay())) { + if (newLines.some((line) => line.timestamp && parseISO(line.timestamp).getDay() != new Date().getDay())) { // new day, clear log store.clearLog(); store.addLog(newLines); diff --git a/client-vue/src/components/LogViewer.vue b/client-vue/src/components/LogViewer.vue index 59bb703d..e2e2d367 100644 --- a/client-vue/src/components/LogViewer.vue +++ b/client-vue/src/components/LogViewer.vue @@ -15,12 +15,12 @@
- {{ formatDate(line.metadata.timestamp) }} + | + {{ formatDate(line.timestamp) }} | (no date) | - {{ line.metadata.module }} + {{ line.module }} |
{{ line.level || "UNKNOWN" }}
@@ -61,7 +61,7 @@ const logViewer = ref |