diff --git a/src/pages/Devices.tsx b/src/pages/Devices.tsx
index 21fee0f..874d1dc 100644
--- a/src/pages/Devices.tsx
+++ b/src/pages/Devices.tsx
@@ -373,7 +373,8 @@ export default function Devices() {
}
const getGroup = () => {
- let group = groups[parseInt(tab)-1]
+ let group = groups[parseInt(tab)]
+ console.log(group)
return group
}
@@ -457,7 +458,7 @@ export default function Devices() {
}/>
: groups.map((group, index) => {
if (group.id()) return (
- {group.name()}} key={"group-tab-"+index}/>
+ {group.name()}} key={"group-tab-"+index}/>
)
})}
} onClick={() => openGroupSettings(undefined, "add")} />