direct links

This commit is contained in:
Benjamin Takats
2023-01-17 20:15:55 +01:00
parent 920ae64c48
commit d9eb467d80

View File

@@ -25,6 +25,10 @@ class Meetups extends Component
public function mount() public function mount()
{ {
if (!auth()->user()) {
return to_route('auth.ln');
}
$this->meetups = Meetup::query() $this->meetups = Meetup::query()
->where('name', 'ilike', '%'.$this->search.'%') ->where('name', 'ilike', '%'.$this->search.'%')
->orderBy('name') ->orderBy('name')