2023-05-22 20:30:33 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Livewire\Project\Application;
|
|
|
|
|
|
|
|
use App\Models\Application;
|
|
|
|
use Livewire\Component;
|
|
|
|
|
|
|
|
class Status extends Component
|
|
|
|
{
|
|
|
|
public Application $application;
|
2023-05-24 12:26:50 +00:00
|
|
|
|
2023-05-25 10:00:09 +00:00
|
|
|
protected $listeners = [
|
|
|
|
'applicationStatusChanged' => 'pollingStatus',
|
|
|
|
];
|
2023-05-22 20:30:33 +00:00
|
|
|
public function pollingStatus()
|
|
|
|
{
|
|
|
|
$this->application->refresh();
|
|
|
|
}
|
|
|
|
}
|