fix: update firewall help button to use CustomEvent for improved event handling
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user