Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Guard devices table against missing ua

Neeraj Gupta69cbc51a54fa
diff --git a/infra/staff/src/components/TokenTableComponent.tsx b/infra/staff/src/components/TokenTableComponent.tsx
index e3f72fdb25..73c81c3720 100644
--- a/infra/staff/src/components/TokenTableComponent.tsx
+++ b/infra/staff/src/components/TokenTableComponent.tsx
@@ -164,7 +164,7 @@ const TokensTableComponent: React.FC = () => {
<TableCell>
{formatDate(token.lastUsedTime)}
</TableCell>
- <TableCell>{token.ua}</TableCell>
+ <TableCell>{token.ua || "-"}</TableCell>
<TableCell>{token.app}</TableCell>
<TableCell>
<span