From 682267b5207324f5ef9779586f0922fb14528cd4 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Sun, 15 Dec 2024 23:33:46 +0800 Subject: [PATCH] fix: sort popover width --- src/pages/Server.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Server.tsx b/src/pages/Server.tsx index c9245b6..ea25d7e 100644 --- a/src/pages/Server.tsx +++ b/src/pages/Server.tsx @@ -137,8 +137,8 @@ export default function Servers() { status === "all" ? filteredServers : filteredServers.filter((server) => - [status].includes(formatNezhaInfo(nezhaWsData.now, server).online ? "online" : "offline"), - ) + [status].includes(formatNezhaInfo(nezhaWsData.now, server).online ? "online" : "offline"), + ) filteredServers = filteredServers.sort((a, b) => { const serverAInfo = formatNezhaInfo(nezhaWsData.now, a) @@ -248,7 +248,7 @@ export default function Servers() { - +