filter finised
This commit is contained in:
1 parent
ff43f231f0
commit
f684d61a61
15 files changed
+376
-136
No files matched your search
@@ -39,25 +39,18 @@ class ListEvents extends ListRecords
|
||||
|
||||
public function updateStar(): void
|
||||
{
|
||||
// $filters = $this->table->getFilters();
|
||||
$filters = $this->getTable()->getFilters();
|
||||
|
||||
dd($filters['filter_stars']->getState());
|
||||
|
||||
$filter_stars = $filters['filter_stars']->getState();
|
||||
|
||||
$this->tableFilters['events']['filter_stars'] = ! $filter_stars;
|
||||
$this->tableFilters['events']['filter_stars'] = ! $this->tableFilters['events']['filter_stars'];
|
||||
}
|
||||
|
||||
// public function updateNote(): void
|
||||
// {
|
||||
// $this->tableFilters['events']['filter_notes'] = auth()->user()->filter_notes;
|
||||
// }
|
||||
public function updateNote(): void
|
||||
{
|
||||
$this->tableFilters['events']['filter_notes'] = ! $this->tableFilters['events']['filter_notes'];
|
||||
}
|
||||
|
||||
// public function updateNotification(): void
|
||||
// {
|
||||
// $this->tableFilters['events']['filter_notification'] = auth()->user()->filter_notification;
|
||||
// }
|
||||
public function updateNotification(): void
|
||||
{
|
||||
$this->tableFilters['events']['filter_notification'] = ! $this->tableFilters['events']['filter_notification'];
|
||||
}
|
||||
|
||||
public function updateTablePeriode(string $filter): void
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user