Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: empty get logs number of lines

Michał Korczakc9054e7d8cec
diff --git a/app/Livewire/Project/Shared/GetLogs.php b/app/Livewire/Project/Shared/GetLogs.php
index 5a2053fc47..62d9774887 100644
--- a/app/Livewire/Project/Shared/GetLogs.php
+++ b/app/Livewire/Project/Shared/GetLogs.php
@@ -79,6 +79,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()) {