mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-08 05:02:21 +00:00
fix: service navbar using new realtime events
This commit is contained in:
@@ -8,12 +8,12 @@ class Sponsorship extends Component
|
||||
{
|
||||
public function getListeners()
|
||||
{
|
||||
$teamId = auth()->user()->currentTeam()->id;
|
||||
$userId = auth()->user()->id;
|
||||
return [
|
||||
"echo-private:custom.{$teamId},TestEvent" => 'testEvent',
|
||||
"echo-private:custom.{$userId},TestEvent" => 'testEvent',
|
||||
];
|
||||
}
|
||||
public function testEvent()
|
||||
public function testEvent($asd)
|
||||
{
|
||||
$this->dispatch('success', 'Realtime events configured!');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user