@@ -17,8 +17,8 @@
|
||||
</TopBar>
|
||||
</template>
|
||||
<template #body>
|
||||
<div v-for="line in logLines" :key="line.id" class="log-line">
|
||||
<span class="time">{{ line.time }}</span><span v-html="line.html"></span>
|
||||
<div v-for="line of logLines" class="log-line">
|
||||
<span class="time">{{ line.time || '[no timestamp] ' }}</span> <span v-html="line.html"></span>
|
||||
</div>
|
||||
<div class="bottom-spacer"></div>
|
||||
</template>
|
||||
@@ -137,8 +137,8 @@ export default {
|
||||
|
||||
this.downloadUrl = this.logsModel.getDownloadUrl();
|
||||
|
||||
this.logsModel.stream((id, time, html) => {
|
||||
this.logLines.push({ id, time, html});
|
||||
this.logsModel.stream((time, html) => {
|
||||
this.logLines.push({ time, html});
|
||||
|
||||
const tmp = document.getElementsByClassName('cloudron-layout-body')[0];
|
||||
if (!tmp) return;
|
||||
|
||||
Reference in New Issue
Block a user