summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authoradlyq <[email protected]>2022-05-27 17:22:03 +0800
committeradlyq <[email protected]>2022-05-27 17:22:03 +0800
commitf0362e5b7bb0634570d0274f24f3a5c2e0daf381 (patch)
tree1ef6452aecba3aedfab7d1cc919f7da623291df7 /src/components
parentc4601a85ae5da11e481d3b46cd3424b058b13e60 (diff)
feat: fallback could be select
Diffstat (limited to 'src/components')
-rw-r--r--src/components/proxies/ProxyGroup.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/proxies/ProxyGroup.tsx b/src/components/proxies/ProxyGroup.tsx
index 32705c1..c835d7e 100644
--- a/src/components/proxies/ProxyGroup.tsx
+++ b/src/components/proxies/ProxyGroup.tsx
@@ -45,7 +45,7 @@ function ProxyGroupImpl({
proxies
);
- const isSelectable = useMemo(() => type === 'Selector', [type]);
+ const isSelectable = useMemo(() => ['Selector', 'Fallback'].includes(type) , [type]);
const {
app: { updateCollapsibleIsOpen },