fix(admin): drop ClientOnly wrapper around alerts panel
Top-level `await useFetch` inside a ClientOnly boundary prevented the component from mounting at all — the slot stayed an empty span and no alerts ever rendered. Nuxt forwards request cookies on same-origin server calls, so `requireAdmin` is satisfied during SSR and the panel can render normally.
This commit is contained in:
parent
653bf78973
commit
a2af4e31ff
1 changed files with 1 additions and 3 deletions
|
|
@ -6,9 +6,7 @@
|
|||
<p>Members, events, and community operations</p>
|
||||
</div>
|
||||
|
||||
<ClientOnly>
|
||||
<AdminAlertsPanel />
|
||||
</ClientOnly>
|
||||
|
||||
<!-- Stats + Quick Actions row -->
|
||||
<div class="content-row">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue