mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 20:14:45 +00:00
revert: wip
This commit is contained in:
1 parent
ac13ba0957
commit
810b55163c
12 files changed
+73
-133
No files matched your search
@@ -11,24 +11,11 @@ use Visus\Cuid2\Cuid2;
|
||||
|
||||
class Heading extends Component
|
||||
{
|
||||
protected string $deploymentUuid;
|
||||
public Application $application;
|
||||
public array $parameters;
|
||||
public function getListeners()
|
||||
{
|
||||
$teamId = auth()->user()->currentTeam()->id;
|
||||
return [
|
||||
"echo-private:custom.{$teamId},ApplicationDeploymentFinished" => 'updateStatus',
|
||||
];
|
||||
}
|
||||
|
||||
public function updateStatus($message)
|
||||
{
|
||||
$applicationUuid = data_get($message, 'applicationUuid');
|
||||
if ($this->application->uuid === $applicationUuid) {
|
||||
$this->application->status = data_get($message, 'status');
|
||||
}
|
||||
}
|
||||
protected string $deploymentUuid;
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->parameters = get_route_parameters();
|
||||
|
||||
Reference in new issue
Block a user