mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
Revert "fix: prevent event propagation on button press in proxies page"
This reverts commit b272634c11e6ee93493b01e9b9a41941d5d433a1.
This commit is contained in:
parent
9f46ccf99a
commit
0b2f64f42d
@ -357,8 +357,7 @@ const Proxies: React.FC = () => {
|
||||
variant="light"
|
||||
size="sm"
|
||||
isIconOnly
|
||||
onPress={(e) => {
|
||||
e.stopPropagation()
|
||||
onPress={() => {
|
||||
if (!isOpen[index]) {
|
||||
setIsOpen((prev) => {
|
||||
const newOpen = [...prev]
|
||||
@ -389,8 +388,7 @@ const Proxies: React.FC = () => {
|
||||
isLoading={delaying[index]}
|
||||
size="sm"
|
||||
isIconOnly
|
||||
onPress={(e) => {
|
||||
e.stopPropagation()
|
||||
onPress={() => {
|
||||
onGroupDelay(index)
|
||||
}}
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user