Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Romsik788 committed Nov 5, 2024
1 parent 50d7a20 commit 036695a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion application/backend/app/containerdb/containerdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ func GetLogs(getPrev bool, include bool, host string, container string, message

to_return["logs"] = logs
to_return["last_processed_key"] = last_processed_key
to_return["total_count"] = len(logs)
return to_return
}

Expand Down
2 changes: 1 addition & 1 deletion application/frontend/src/Views/Logs/NewLogsV2.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
total_logs_amount += data.logs.length;
if (initialService === $lastChosenService) {
setLastLogTime(data.logs[data.total_count-1][0]);
setLastLogTime(data.logs[total_logs_amount-1][0]);
allLogs = [...allLogs, ...data.logs];
let allLogsCopy = [...allLogs];
Expand Down

0 comments on commit 036695a

Please sign in to comment.