mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
fix(log-viewer): fix formatting last line without newline
This commit is contained in:
parent
8e246c203c
commit
ae3809cefd
1 changed files with 4 additions and 0 deletions
|
@ -127,6 +127,10 @@ angular.module('portainer.docker').factory('LogHelper', [
|
|||
}
|
||||
}
|
||||
|
||||
if (line) {
|
||||
formattedLogs.push({ line, spans });
|
||||
}
|
||||
|
||||
return formattedLogs;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue