mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
wip: 🌮
This commit is contained in:
1 parent
cd22863a8c
commit
5cc22a8271
10 files changed
+84
-55
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user