fix: prevent default link behavior for resource and settings actions in dashboard

This commit is contained in:
Andras Bacsai
2025-01-07 09:51:25 +01:00
parent b43ea5fb5d
commit 7f9e54516b

View File

@@ -35,7 +35,7 @@
</div>
<div class="flex items-center justify-center gap-2 text-xs font-bold">
@if ($project->environments->first())
<a class="hover:underline"
<a class="hover:underline" wire:click.stop
href="{{ route('project.resource.create', [
'project_uuid' => $project->uuid,
'environment_uuid' => $project->environments->first()->uuid,
@@ -43,7 +43,7 @@
<span class="p-2 font-bold">+ Add Resource</span>
</a>
@endif
<a class="hover:underline"
<a class="hover:underline" wire:click.stop
href="{{ route('project.edit', ['project_uuid' => $project->uuid]) }}">
Settings
</a>