refactor(dashboard): replace project navigation method with direct link in UI

- Removed the navigateToProject method from the Livewire component.
- Updated the dashboard view to use anchor tags for project navigation, enhancing user experience and simplifying the code structure.
This commit is contained in:
Andras Bacsai
2025-09-30 15:13:14 +02:00
parent a897e81566
commit 890f076572
2 changed files with 6 additions and 11 deletions
-5
View File
@@ -23,11 +23,6 @@ class Dashboard extends Component
$this->projects = Project::ownedByCurrentTeam()->get();
}
public function navigateToProject($projectUuid)
{
return $this->redirect(collect($this->projects)->firstWhere('uuid', $projectUuid)->navigateTo(), navigate: false);
}
public function render()
{
return view('livewire.dashboard');