mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
wip
This commit is contained in:
1 parent
d6c725ea83
commit
d947175e4b
35 files changed
+333
-112
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire;
|
||||
|
||||
use Livewire\Component;
|
||||
use Spatie\Activitylog\Models\Activity;
|
||||
|
||||
class PollDeployment extends Component
|
||||
{
|
||||
public string $deployment_uuid;
|
||||
public string $created_at;
|
||||
public string $status;
|
||||
public function polling()
|
||||
{
|
||||
$activity = Activity::where('properties->deployment_uuid', '=', $this->deployment_uuid)->first();
|
||||
$this->created_at = $activity->created_at;
|
||||
$this->status = data_get($activity, 'properties.status');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user