|
|
@@ -30,6 +30,9 @@ class Motivation extends Component
|
|
|
if(\Auth::user()->level != env('LEVEL_ADMIN', 0))
|
|
|
return redirect()->to('/dashboard');
|
|
|
|
|
|
+ $this->enabled = true;
|
|
|
+ $this->show_in_member_presences = false;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public function sortBy($field)
|
|
|
@@ -48,6 +51,7 @@ class Motivation extends Component
|
|
|
$this->name = '';
|
|
|
$this->type = '';
|
|
|
$this->enabled = true;
|
|
|
+ $this->show_in_member_presences = false;
|
|
|
$this->emit('load-data-table');
|
|
|
}
|
|
|
|