table changes

This commit is contained in:
Benjamin Takats
2023-01-19 15:44:09 +01:00
parent 31c7b47548
commit faeb31d4b2
17 changed files with 46 additions and 37 deletions

View File

@@ -6,13 +6,13 @@ use App\Models\Country;
use Livewire\Component;
use RalphJSmit\Laravel\SEO\Support\SEOData;
class CouseTable extends Component
class CourseTable extends Component
{
public Country $country;
public function render()
{
return view('livewire.school.couse-table')->layout('layouts.app', [
return view('livewire.school.course-table')->layout('layouts.app', [
'SEOData' => new SEOData(
title: __('Courses'),
description: __('Choose your city, search for courses in the surrounding area and select a topic that suits you.'),

View File

@@ -70,7 +70,7 @@ class EventTable extends Component
'#table',
'country' => $this->country->code,
'year' => $this->year,
'table' => [
'course_events' => [
'filters' => [
'byid' => $id,
],
@@ -84,7 +84,7 @@ class EventTable extends Component
'#table',
'country' => $this->country->code,
'year' => $this->year,
'table' => [
'course_events' => [
'filters' => [
'byid' => $ids,
]

View File

@@ -8,10 +8,10 @@ use Livewire\Component;
class SearchByTagComponent extends Component
{
public string $country = 'de';
public ?array $table = [];
public ?array $courses = [];
protected $queryString = [
'table',
'courses',
];
public function render()