fix: update firewall help button to use CustomEvent for improved event handling

This commit is contained in:
2025-12-18 09:35:23 -05:00
parent 13ab703868
commit 5c5184aec8

View File

@@ -261,7 +261,7 @@
<div style="display: flex; flex-direction: column; gap: .25rem;">
<div class="flex items-center gap-2">
<h2 style="font-size: 1.125rem; font-weight: 600; color: #212529; margin: 0;">Firewall Management</h2>
<button type="button" @click="$dispatch('open-firewall-help')" class="text-base/50 hover:text-base/70 transition-colors">
<button type="button" @click="window.dispatchEvent(new CustomEvent('open-firewall-help'))" class="text-base/50 hover:text-base/70 transition-colors">
<x-ri-question-line class="size-4" />
</button>
</div>