diff options
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 258d4154..a9391952 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -440,8 +440,8 @@ loading: false, show(logs) { this.visible = true; - this.logs = logs; - this.formattedLogs = logs.length > 0 ? this.formatLogs(logs) : "No Record..."; + this.logs = logs || []; + this.formattedLogs = this.logs.length > 0 ? this.formatLogs(this.logs) : "No Record..."; }, formatLogs(logs) { let formattedLogs = ''; |
