добавил обратную сортировку лога

This commit is contained in:
2025-09-18 15:32:12 +03:00
parent 9efddd9930
commit 7f21f9488e
8 changed files with 42 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
logsUpdate() {
if (this.paramLogs.submitUpdateLogs) { return }
this.paramLogs.submitUpdateLogs = true
fetch(`/api/get/manager.log?preview=1`, {method: 'GET', credentials: 'same-origin' })
fetch(`/api/get/manager.log?preview${this.paramLogs.revercePreview ? '&reverse' : ''}`, {method: 'GET', credentials: 'same-origin', })
.then(async (resp) => {
this.paramLogs.data = await resp.text()
})