diff options
Diffstat (limited to 'modern/src/main')
-rw-r--r-- | modern/src/main/MainPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js index 3669dd50..90e1b920 100644 --- a/modern/src/main/MainPage.js +++ b/modern/src/main/MainPage.js @@ -196,7 +196,7 @@ const MainPage = () => { let { groupId } = device; while (groupId) { groupIds.push(groupId); - groupId = groups[groupId].groupId; + groupId = groups[groupId]?.groupId || 0; } return groupIds; }; |