fix livewire bug

This commit is contained in:
Andras Bacsai 2024-05-24 13:55:04 +02:00
parent 21cdf59065
commit 15f304736f
4 changed files with 2 additions and 4 deletions

View File

@ -67,7 +67,6 @@ public function check_status()
GetContainersStatus::run($this->service->server);
// dispatch_sync(new ContainerStatusJob($this->service->server));
$this->dispatch('refresh')->self();
$this->dispatch('updateStatus');
} catch (\Exception $e) {
return handleError($e, $this);
}

View File

@ -30,7 +30,6 @@ public function getListeners()
$userId = auth()->user()->id;
return [
"echo-private:user.{$userId},ServiceStatusChanged" => 'serviceStarted',
"updateStatus"=> '$refresh',
];
}
public function serviceStarted()

View File

@ -14,7 +14,7 @@
"guzzlehttp/guzzle": "^7.5.0",
"laravel/fortify": "^v1.16.0",
"laravel/framework": "^v10.7.1",
"laravel/horizon": "^5.24",
"laravel/horizon": "^5.23.1",
"laravel/prompts": "^0.1.6",
"laravel/sanctum": "^v3.2.1",
"laravel/socialite": "^5.12",

2
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "6b4a57ec7a088ba0dd0a89ab90c2175f",
"content-hash": "08fa7948cfbba57d4308a151621dfaaf",
"packages": [
{
"name": "amphp/amp",