diff --git a/app/Livewire/ActivityMonitor.php b/app/Livewire/ActivityMonitor.php index 3bb76cc1f..1a819f1c0 100644 --- a/app/Livewire/ActivityMonitor.php +++ b/app/Livewire/ActivityMonitor.php @@ -20,7 +20,7 @@ class ActivityMonitor extends Component public 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.php index 125914baa..40de86c47 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 -
- @if ($this->activity) +
+ @if ($activity) @if (isset($header))

{{ $header }}

@@ -11,10 +11,10 @@ @endif
$fullHeight, + 'h-full' => $fullHeight, 'max-h-96' => !$fullHeight, ])> -
{{ RunRemoteProcess::decodeOutput($this->activity) }}
+
{{ RunRemoteProcess::decodeOutput($activity) }}
@else @if ($showWaiting)