diff --git a/InfoLogger/public/log/Log.js b/InfoLogger/public/log/Log.js index f9f0e8b73..cef190944 100644 --- a/InfoLogger/public/log/Log.js +++ b/InfoLogger/public/log/Log.js @@ -554,9 +554,7 @@ export default class Log extends Observable { if (this.list.length > 0) { let fullContent = ''; - if (this.limit < 100001) { - this.list.forEach((item) => fullContent += `${this.getLogAsTableRowString(item)}\n`); - } + this.list.forEach((item) => fullContent += `${this.getLogAsTableRowString(item)}\n`); let visibleOnlyContent = ''; this.listLogsInViewportOnly().forEach((item) => { diff --git a/InfoLogger/public/log/commandLogs.js b/InfoLogger/public/log/commandLogs.js index 77ff1e23d..7e3db02fb 100644 --- a/InfoLogger/public/log/commandLogs.js +++ b/InfoLogger/public/log/commandLogs.js @@ -137,7 +137,7 @@ const downloadButtonGroup = (log) => } }, iconDataTransferDownload(), ' Download'), h('.dropdown-menu', [ - log.limit < 100001 && h('a.menu-item.m3.mv2.text-ellipsis', { + h('a.menu-item.m3.mv2.text-ellipsis', { href: `data:application/octet;,${encodeURIComponent(log.download.fullContent)}`, download: `InfoLog${new Date().toLocaleString()}.txt`, onclick: () => log.removeLogDownloadContent()