|
|
@@ -51,7 +51,11 @@ class Member extends Component
|
|
|
$this->checkCourseAvailability();
|
|
|
}
|
|
|
if ($type === 'presenze') {
|
|
|
- $this->emit('load-chart', $this->mesi, $this->valori);
|
|
|
+ //$this->emit('load-chart', $this->mesi, $this->valori);
|
|
|
+ //if (sizeof($this->mesi) == 0 && sizeof($this->valori) == 0)
|
|
|
+ $this->loadMemberPresences();
|
|
|
+ //else
|
|
|
+ // $this->emit('load-chart', $this->mesi, $this->valori);
|
|
|
}
|
|
|
$this->dispatchBrowserEvent('scroll-to-top');
|
|
|
}
|