chore: update
This commit is contained in:
@@ -59,7 +59,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
return url.substring(url.lastIndexOf("/") + 1);
|
return url.substring(url.lastIndexOf("/") + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 0 && !group.hidden) {
|
if (type === 0) {
|
||||||
return (
|
return (
|
||||||
<ListItemButton
|
<ListItemButton
|
||||||
dense
|
dense
|
||||||
@@ -125,7 +125,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 1 && !group.hidden) {
|
if (type === 1) {
|
||||||
return (
|
return (
|
||||||
<ProxyHead
|
<ProxyHead
|
||||||
sx={{ pl: 2, pr: 3, mt: indent ? 1 : 0.5, mb: 1 }}
|
sx={{ pl: 2, pr: 3, mt: indent ? 1 : 0.5, mb: 1 }}
|
||||||
@@ -139,7 +139,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 2 && !group.hidden) {
|
if (type === 2) {
|
||||||
return (
|
return (
|
||||||
<ProxyItem
|
<ProxyItem
|
||||||
group={group}
|
group={group}
|
||||||
@@ -152,7 +152,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 3 && !group.hidden) {
|
if (type === 3) {
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
@@ -170,7 +170,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 4 && !group.hidden) {
|
if (type === 4) {
|
||||||
const proxyColItemsMemo = useMemo(() => {
|
const proxyColItemsMemo = useMemo(() => {
|
||||||
return proxyCol?.map((proxy) => (
|
return proxyCol?.map((proxy) => (
|
||||||
<ProxyItemMini
|
<ProxyItemMini
|
||||||
|
|||||||
Reference in New Issue
Block a user