mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 02:14:36 +00:00
wip
This commit is contained in:
1 parent
02989678be
commit
ce49f26c53
11 files changed
+107
-65
No files matched your search
@@ -10,6 +10,12 @@ class Dashboard extends Component
|
||||
{
|
||||
public $projects = [];
|
||||
public $servers = [];
|
||||
protected $listeners = ['echo:public,TestEvent' => 'notifyNewOrder'];
|
||||
|
||||
public function notifyNewOrder()
|
||||
{
|
||||
$this->emit('success', 'New order received!');
|
||||
}
|
||||
public function mount()
|
||||
{
|
||||
$this->servers = Server::ownedByCurrentTeam()->get();
|
||||
|
||||
Reference in new issue
Block a user