This commit is contained in:
2026-04-18 14:18:52 +02:00
parent 5b4d3d435e
commit f3e5100d5d
126 changed files with 743 additions and 795 deletions

View File

@@ -3,7 +3,6 @@
namespace App\Livewire;
use App\Models\Watched as UserWatched;
use App\Models\User;
use Illuminate\Support\Carbon;
use Livewire\Component;
use Livewire\WithPagination;
@@ -14,7 +13,7 @@ class Watched extends Component
public $userId;
public function mount($user)
public function mount($user)
{
$this->userId = $user ? $user->id : auth()->user()->id;
}
@@ -27,8 +26,8 @@ class Watched extends Component
});
return view('livewire.watched', [
'watched' => $watched,
'watchedGrouped' => $watchedGrouped,
'watched' => $watched,
'watchedGrouped' => $watchedGrouped,
]);
}
}