wip: 🌮

This commit is contained in:
Andras Bacsai committed 2023-12-05 13:56:11 +01:00
1 parent cd22863a8c
commit 5cc22a8271
10 files changed
+84 -55

No files matched your search

+5 -5
View File
@@ -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();