wip
This commit is contained in:
parent
862177d61a
commit
118a02f70d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user