improvement(core): simplify events for app/db/service status changes
This commit is contained in:
@@ -35,6 +35,15 @@ class ExecuteContainerCommand extends Component
|
||||
'command' => 'required',
|
||||
];
|
||||
|
||||
public function getListeners()
|
||||
{
|
||||
$teamId = auth()->user()->currentTeam()->id;
|
||||
|
||||
return [
|
||||
"echo-private:team.{$teamId},ServiceChecked" => '$refresh',
|
||||
];
|
||||
}
|
||||
|
||||
public function mount()
|
||||
{
|
||||
if (! auth()->user()->isAdmin()) {
|
||||
|
||||
Reference in New Issue
Block a user