wip
This commit is contained in:
parent
862177d61a
commit
118a02f70d
@ -10,12 +10,12 @@ class Dashboard extends Component
|
|||||||
{
|
{
|
||||||
public $projects = [];
|
public $projects = [];
|
||||||
public $servers = [];
|
public $servers = [];
|
||||||
protected $listeners = ['echo:public,TestEvent' => 'notifyNewOrder'];
|
// protected $listeners = ['echo:public,TestEvent' => 'notifyNewOrder'];
|
||||||
|
|
||||||
public function notifyNewOrder()
|
// public function notifyNewOrder()
|
||||||
{
|
// {
|
||||||
$this->emit('success', 'New order received!');
|
// $this->emit('success', 'New order received!');
|
||||||
}
|
// }
|
||||||
public function mount()
|
public function mount()
|
||||||
{
|
{
|
||||||
$this->servers = Server::ownedByCurrentTeam()->get();
|
$this->servers = Server::ownedByCurrentTeam()->get();
|
||||||
|
Loading…
Reference in New Issue
Block a user