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