fix(log-viewer): fix formatting last line without newline
parent
8e246c203c
commit
ae3809cefd
|
@ -127,6 +127,10 @@ angular.module('portainer.docker').factory('LogHelper', [
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (line) {
|
||||||
|
formattedLogs.push({ line, spans });
|
||||||
|
}
|
||||||
|
|
||||||
return formattedLogs;
|
return formattedLogs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue