fix: minor glitches (#900)

* feat: show actual proxy name instead of proxy group when hovering on a group outbound

* fix: open empty edit form and save will cause `UID not found`

* chore: tauri.conf.json json schema

* chore: missing locales
This commit is contained in:
dongchengjie
2024-04-20 18:02:15 +08:00
committed by GitHub
parent 19ce53128b
commit 11e0f49ada
10 changed files with 17 additions and 3 deletions

View File

@@ -8,7 +8,6 @@ import {
deleteConnection,
getGroupProxyDelays,
} from "@/services/api";
import { Box } from "@mui/material";
import { useProfiles } from "@/hooks/use-profiles";
import { useVerge } from "@/hooks/use-verge";
import { BaseEmpty } from "../base";

View File

@@ -86,7 +86,10 @@ export const ProxyItemMini = (props: Props) => {
},
]}
>
<Box title={proxy.name} sx={{ overflow: "hidden" }}>
<Box
title={`${proxy.name}\n${proxy.now ?? ""}`}
sx={{ overflow: "hidden" }}
>
<Typography
variant="body2"
component="div"

View File

@@ -104,7 +104,6 @@ export const TestItem = (props: Props) => {
}}
>
<TestBox
onClick={onEditTest}
onContextMenu={(event) => {
const { clientX, clientY } = event;
setPosition({ top: clientY, left: clientX });