fix: nav Alpine event name — use htmx:after-settle, not after-settle
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{define "nav"}}
|
||||
<nav class="w-[260px] min-h-screen bg-white/70 backdrop-blur-md border-r border-outline-variant/30 flex flex-col shrink-0"
|
||||
x-data="{ page: '{{.View}}' }" @after-settle.window="page = location.pathname.slice(1) || 'hosts'">
|
||||
x-data="{ page: '{{.View}}' }" @htmx:after-settle.window="page = location.pathname.slice(1) || 'hosts'">
|
||||
<div class="p-3 border-b border-outline-variant/20">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="w-8 h-8 rounded-lg bg-primary flex items-center justify-center text-white text-sm font-bold">K</div>
|
||||
|
||||
Reference in New Issue
Block a user