do not load charts on mount
This commit is contained in:
@@ -24,11 +24,6 @@ class ServerCpu extends Component
|
||||
return view('livewire.charts.server-cpu');
|
||||
}
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->loadData();
|
||||
}
|
||||
|
||||
public function pollData()
|
||||
{
|
||||
if ($this->poll || $this->interval <= 10) {
|
||||
|
||||
@@ -34,11 +34,6 @@ class ServerMemory extends Component
|
||||
}
|
||||
}
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->loadData();
|
||||
}
|
||||
|
||||
public function loadData()
|
||||
{
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user