From 118a02f70ddd266ca859da5480277eb2d7c06216 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 5 Dec 2023 12:18:23 +0100 Subject: [PATCH] wip --- app/Http/Livewire/Dashboard.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Livewire/Dashboard.php b/app/Http/Livewire/Dashboard.php index 3eb9ccccc..345f8a489 100644 --- a/app/Http/Livewire/Dashboard.php +++ b/app/Http/Livewire/Dashboard.php @@ -10,12 +10,12 @@ class Dashboard extends Component { public $projects = []; public $servers = []; - protected $listeners = ['echo:public,TestEvent' => 'notifyNewOrder']; + // protected $listeners = ['echo:public,TestEvent' => 'notifyNewOrder']; - public function notifyNewOrder() - { - $this->emit('success', 'New order received!'); - } + // public function notifyNewOrder() + // { + // $this->emit('success', 'New order received!'); + // } public function mount() { $this->servers = Server::ownedByCurrentTeam()->get();