Update nav live search design
This commit is contained in:
@@ -20,6 +20,7 @@ class NavLiveSearch extends Component
|
||||
if ($this->navSearch != '') {
|
||||
$episodes = Episode::search($this->navSearch)
|
||||
->when(Auth::guest(), fn ($query) => $query->whereNotIn('tags', ['Loli', 'Shota']))
|
||||
->query(fn ($query) => $query->with(['gallery', 'studio']))
|
||||
->take(7)
|
||||
->get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user