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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
refactor(activity-monitor): change activity property visibility and update view references for consistency
Andras Bacsaia990cc01c23e
diff --git a/app/Livewire/ActivityMonitor.php b/app/Livewire/ActivityMonitor.phpindex 3bb76cc1f9..1a819f1c0e 100644--- a/app/Livewire/ActivityMonitor.php+++ b/app/Livewire/ActivityMonitor.php@@ -20,7 +20,7 @@ class ActivityMonitor extends Componentpublic bool $showWaiting = false;- protected $activity;+ public $activity;public static $eventDispatched = false;diff --git a/resources/views/livewire/activity-monitor.blade.php b/resources/views/livewire/activity-monitor.blade.phpindex 125914baa2..40de86c471 100644--- a/resources/views/livewire/activity-monitor.blade.php+++ b/resources/views/livewire/activity-monitor.blade.php@@ -1,6 +1,6 @@@php use App\Actions\CoolifyTask\RunRemoteProcess; @endphp-<div>- @if ($this->activity)+<div class="h-full">+ @if ($activity)@if (isset($header))<div class="flex gap-2 pb-2"><h3>{{ $header }}</h3>@@ -11,10 +11,10 @@@endif<div @class(['flex flex-col-reverse w-full px-4 py-2 overflow-y-auto bg-white border border-solid rounded-sm dark:text-white dark:bg-coolgray-100 scrollbar border-neutral-300 dark:border-coolgray-300',- 'max-h-[48rem]' => $fullHeight,+ 'h-full' => $fullHeight,'max-h-96' => !$fullHeight,])>- <pre class="font-mono whitespace-pre-wrap" @if ($isPollingActive) wire:poll.1000ms="polling" @endif>{{ RunRemoteProcess::decodeOutput($this->activity) }}</pre>+ <pre class="font-mono whitespace-pre-wrap" @if ($isPollingActive) wire:poll.1000ms="polling" @endif>{{ RunRemoteProcess::decodeOutput($activity) }}</pre></div>@else@if ($showWaiting)