Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: service navigation

peaklabs-devb94fc07d7c6f
diff --git a/resources/views/livewire/project/service/index.blade.php b/resources/views/livewire/project/service/index.blade.php
index fb3ed5636b..2e31d74995 100644
--- a/resources/views/livewire/project/service/index.blade.php
+++ b/resources/views/livewire/project/service/index.blade.php
@@ -4,15 +4,16 @@
<div class="flex flex-col items-start gap-2 min-w-fit">
<a class="menu-item"
class="{{ request()->routeIs('project.service.configuration') ? 'menu-item-active' : '' }}"
- href="{{ route('project.service.configuration', [...$parameters, 'stack_service_uuid' => null]) }}">
+ wire:navigate href="{{ route('project.service.configuration', [...$parameters, 'stack_service_uuid' => null]) }}">
<button><- Back</button>
</a>
<a class="menu-item" :class="activeTab === 'general' && 'menu-item-active'"
@click.prevent="activeTab = 'general'; window.location.hash = 'general'; if(window.location.search) window.location.search = ''"
- href="#">General</a>
+ wire:navigate href="#">General</a>
@if ($serviceDatabase?->isBackupSolutionAvailable())
<a :class="activeTab === 'backups' && 'menu-item-active'" class="menu-item"
- @click.prevent="activeTab = 'backups'; window.location.hash = 'backups'" href="#">Backups</a>
+ @click.prevent="activeTab = 'backups'; window.location.hash = 'backups'"
+ wire:navigate href="#">Backups</a>
@endif
</div>
<div class="w-full">