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(breadcrumb): sync title after Livewire navigation

Andras Bacsaid88b58ccc15d
diff --git a/resources/views/components/top-breadcrumb.blade.php b/resources/views/components/top-breadcrumb.blade.php
index 9d61833831..83058bb64b 100644
--- a/resources/views/components/top-breadcrumb.blade.php
+++ b/resources/views/components/top-breadcrumb.blade.php
@@ -116,7 +116,7 @@
this.titleRepeats = expected !== '' && title === expected;
},
}"
- x-init="syncTitle()" @livewire:navigated.window="$nextTick(() => syncTitle())">
+ x-init="syncTitle()" x-on:livewire:navigated.window="$nextTick(() => syncTitle())">
{{-- Team --}}
<div class="shrink-0" x-data="{ collapsed: false }">
<livewire:switch-team />