multiple fixes

This commit is contained in:
Doar Mihai
2026-05-30 13:26:41 +03:00
parent 5d45797fa9
commit 5a14dccdc0
5 changed files with 3 additions and 13 deletions
+1 -1
View File
@@ -483,7 +483,7 @@
{{-- Write / Edit Review Form --}}
@auth
<div x-data="reviewForm(
'{{ route('reviews.store', $game->slug) }}',
'{{ route('reviews.store', ['game' => $game->slug]) }}',
{{ $userReview ? $userReview->id : 'null' }},
{{ $userReview ? json_encode($userReview->body) : 'null' }},
{{ $userReview ? ($userReview->rating ?? 'null') : 'null' }},
+1 -1
View File
@@ -10,7 +10,7 @@
<div class="flex items-start justify-between mb-2">
<div>
<div class="flex items-center gap-2 mb-1">
<a href="{{ route('users.show', $list->user->username) }}" class="text-sm text-slate-500 hover:text-slate-300 transition-colors">
<a href="{{ route('users.show', ['user' => $list->user->username]) }}" class="text-sm text-slate-500 hover:text-slate-300 transition-colors">
{{ $list->user->username ?? $list->user->name }}
</a>
@if(!$list->is_public)