fix: prevent event propagation on button clicks in Proxmox firewall view for improved interaction and functionality
This commit is contained in:
@@ -653,7 +653,7 @@
|
||||
<span class="font-mono text-xs" x-text="rule.source ?? '-'"></span>
|
||||
<template x-if="rule.source && rule.source !== '-' && window.isPublicIP(rule.source)">
|
||||
<div class="relative" x-data="{ open: false, loading: false, ipData: null }" x-cloak>
|
||||
<button type="button" @click="
|
||||
<button type="button" @click.stop="
|
||||
if (!ipData && !loading) {
|
||||
loading = true;
|
||||
open = true;
|
||||
@@ -750,7 +750,7 @@
|
||||
<span class="font-mono text-xs" x-text="rule.dest ?? '-'"></span>
|
||||
<template x-if="rule.dest && rule.dest !== '-' && window.isPublicIP(rule.dest)">
|
||||
<div class="relative" x-data="{ open: false, loading: false, ipData: null }" x-cloak>
|
||||
<button type="button" @click="
|
||||
<button type="button" @click.stop="
|
||||
if (!ipData && !loading) {
|
||||
loading = true;
|
||||
open = true;
|
||||
|
||||
Reference in New Issue
Block a user