Luca Parisio 4 месяцев назад
Родитель
Сommit
e1e46a4f41
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      app/Http/Livewire/Member.php

+ 5 - 5
app/Http/Livewire/Member.php

@@ -48,7 +48,7 @@ class Member extends Component
             if ($type === 'corsi' && $this->dataId > 0) {
             $this->loadMemberCards();
             $this->loadMemberCertificates();
-            $this->checkCourseAvailability();
+            // TODO $this->checkCourseAvailability();
         }
 
         $this->dispatchBrowserEvent('scroll-to-top');
@@ -1427,7 +1427,7 @@ class Member extends Component
             $this->resetCardFields();
             $this->addCard = false;
             $this->loadMemberCards();
-            $this->checkCourseAvailability();
+            // TODO $this->checkCourseAvailability();
         } catch (\Exception $ex) {
             session()->flash('error', 'Errore (' . $ex->getMessage() . ')');
         }
@@ -1548,7 +1548,7 @@ class Member extends Component
             $this->resetCardFields();
             $this->updateCard = false;
             $this->loadMemberCards();
-            $this->checkCourseAvailability();
+            // TODO $this->checkCourseAvailability();
         } catch (\Exception $ex) {
             Log::error('Error updating card', [
                 'card_id' => $this->cardDataId,
@@ -1833,7 +1833,7 @@ class Member extends Component
             $this->resetCertificateFields();
             $this->addCertificate = false;
             $this->loadMemberCertificates();
-            $this->checkCourseAvailability();
+            // TODO $this->checkCourseAvailability();
         } catch (\Exception $ex) {
             session()->flash('error', 'Errore (' . $ex->getMessage() . ')');
         }
@@ -1882,7 +1882,7 @@ class Member extends Component
             $this->resetCertificateFields();
             $this->updateCertificate = false;
             $this->loadMemberCertificates();
-            $this->checkCourseAvailability();
+            // TODO $this->checkCourseAvailability();
         } catch (\Exception $ex) {
             session()->flash('error', 'Errore (' . $ex->getMessage() . ')');
         }