wip
This commit is contained in:
		@@ -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();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user