Skip to content

Commit

Permalink
Handle missing group
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Jun 14, 2023
1 parent 0810d3f commit cd5b151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modern/src/settings/DevicesPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const DevicesPage = () => {
<TableRow key={item.id}>
<TableCell>{item.name}</TableCell>
<TableCell>{item.uniqueId}</TableCell>
<TableCell>{item.groupId ? groups[item.groupId].name : null}</TableCell>
<TableCell>{item.groupId ? groups[item.groupId]?.name : null}</TableCell>
<TableCell>{item.phone}</TableCell>
<TableCell>{item.model}</TableCell>
<TableCell>{item.contact}</TableCell>
Expand Down

0 comments on commit cd5b151

Please sign in to comment.