mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-12 20:20:41 -05:00
remove session properties
This commit is contained in:
parent
0a271ff03e
commit
ed2091fb23
@ -8,7 +8,6 @@ use Illuminate\Contracts\View\View;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Livewire\Attributes\Computed;
|
||||
use Livewire\Attributes\Session;
|
||||
use Livewire\Attributes\Url;
|
||||
use Livewire\Component;
|
||||
use Livewire\WithPagination;
|
||||
@ -21,28 +20,24 @@ class Index extends Component
|
||||
* The search query value.
|
||||
*/
|
||||
#[Url]
|
||||
#[Session]
|
||||
public string $query = '';
|
||||
|
||||
/**
|
||||
* The sort order value.
|
||||
*/
|
||||
#[Url]
|
||||
#[Session]
|
||||
public string $order = 'created';
|
||||
|
||||
/**
|
||||
* The SPT versions filter value.
|
||||
*/
|
||||
#[Url]
|
||||
#[Session]
|
||||
public array $sptVersions = [];
|
||||
|
||||
/**
|
||||
* The featured filter value.
|
||||
*/
|
||||
#[Url]
|
||||
#[Session]
|
||||
public string $featured = 'include';
|
||||
|
||||
/**
|
||||
|
@ -1,10 +1,6 @@
|
||||
@props(['mods', 'versionScope', 'title', 'link'])
|
||||
|
||||
<div class="mx-auto max-w-7xl px-4 pt-16 sm:px-6 lg:px-8">
|
||||
{{--
|
||||
TODO: The button-link should be dynamic based on the versionScope. Eg. Featured `View All` button should take
|
||||
the user to the mods page with the `featured` query parameter set.
|
||||
--}}
|
||||
<x-page-content-title :title="$title" button-text="View All" :button-link="$link" />
|
||||
<x-mod-list :mods="$mods" :versionScope="$versionScope" />
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user