Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
auto expand
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Sep 29, 2024
1 parent 9477824 commit d8b0393
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/renderer/src/pages/proxies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,13 @@ const Proxies: React.FC = () => {
size="sm"
isIconOnly
onPress={() => {
if (!isOpen[index]) return
if (!isOpen[index]) {
setIsOpen((prev) => {
const newOpen = [...prev]
newOpen[index] = true
return newOpen
})
}
let i = 0
for (let j = 0; j < index; j++) {
i += groupCounts[j]
Expand Down

0 comments on commit d8b0393

Please sign in to comment.