[logs] new bug-free log_writer

This commit is contained in:
Alireza Ahmadi
2024-02-13 19:35:06 +01:00
parent 294a3f46a0
commit ee2bbffc8f
2 changed files with 10 additions and 15 deletions

View File

@@ -302,7 +302,7 @@
</a-button>
</a-form-item>
</a-form>
<div class="ant-input" style="height: auto; max-height: 500px; overflow: auto;" v-html="logModal.logs"></div>
<div class="ant-input" style="height: auto; max-height: 500px; overflow: auto;" v-html="logModal.formattedLogs"></div>
</a-modal>
<a-modal id="backup-modal" v-model="backupModal.visible" :title="backupModal.title"
@@ -435,7 +435,7 @@
loading: false,
show(logs) {
this.visible = true;
this.logs = logs || [];
this.logs = logs;
this.formattedLogs = this.logs.length > 0 ? this.formatLogs(this.logs) : "No Record...";
},
formatLogs(logs) {