mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
Merge pull request #1858 from Omikorin/patch-1
fix: empty get logs number of lines
This commit is contained in:
commit
56c08056d2
1 changed files with 3 additions and 0 deletions
|
|
@ -82,6 +82,9 @@ class GetLogs extends Component
|
|||
}
|
||||
}
|
||||
if (!$refresh && ($this->resource?->getMorphClass() === 'App\Models\Service' || str($this->container)->contains('-pr-'))) return;
|
||||
if (!$this->numberOfLines) {
|
||||
$this->numberOfLines = 1000;
|
||||
}
|
||||
if ($this->container) {
|
||||
if ($this->showTimeStamps) {
|
||||
if ($this->server->isSwarm()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue