mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
hotfix
This commit is contained in:
@@ -76,7 +76,6 @@ class MeetupEventTable extends DataTableComponent
|
||||
->label(
|
||||
fn($row, Column $column) => view('columns.meetup_events.link')
|
||||
->withRow($row)
|
||||
->withCountry($this->country)
|
||||
),
|
||||
];
|
||||
}
|
||||
@@ -87,7 +86,7 @@ class MeetupEventTable extends DataTableComponent
|
||||
->where('meetup_events.start', '>=', now())
|
||||
->whereHas('meetup.city.country', fn($query) => $query->where('code', $this->country))
|
||||
->with([
|
||||
'meetup',
|
||||
'meetup.city.country',
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,6 @@ class MeetupTable extends DataTableComponent
|
||||
->format(
|
||||
fn($value, $row, Column $column) => view('columns.meetups.name')
|
||||
->withRow($row)
|
||||
->withCountry($this->country)
|
||||
)
|
||||
->searchable(fn($builder, $term) => $builder->where('meetups.name', 'ilike', '%'.$term.'%')),
|
||||
Column::make(__('Plebs'))
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<x-button
|
||||
primary
|
||||
xs
|
||||
:href="route('meetup.event.landing', ['country' => $country, 'meetupEvent' => $row->id])"
|
||||
:href="route('meetup.event.landing', ['country' => $row->meetup->city->country, 'meetupEvent' => $row->id])"
|
||||
>
|
||||
<i class="fa fa-thin fa-browser mr-2"></i>
|
||||
{{ __('Link to participate') }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<a href="{{ route('meetup.landing', ['country' => $country, 'meetup' => $row]) }}">
|
||||
<a href="{{ route('meetup.landing', ['country' => $row->city->country, 'meetup' => $row]) }}">
|
||||
<div class="flex items-center space-x-2">
|
||||
<img class="h-24" src="{{ $row->getFirstMediaUrl('logo', 'thumb') }}" alt="{{ $row->name }}">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user