= ({ device, children, onClick }) =>
{ id: 'isVerified', value: verificationStatus },
{ id: 'lastActivity', value: lastActivity },
{ id: 'lastSeenIp', value: device.last_seen_ip },
+ { id: 'deviceId', value: device.device_id },
];
return
diff --git a/test/components/views/settings/__snapshots__/DevicesPanel-test.tsx.snap b/test/components/views/settings/__snapshots__/DevicesPanel-test.tsx.snap
index 2f2f3a7773..0cdead4e6e 100644
--- a/test/components/views/settings/__snapshots__/DevicesPanel-test.tsx.snap
+++ b/test/components/views/settings/__snapshots__/DevicesPanel-test.tsx.snap
@@ -141,6 +141,12 @@ exports[` renders device panel with devices 1`] = `
>
Unverified
+ ·
+
+ device_1
+
renders device panel with devices 1`] = `
>
Unverified
+ ·
+
+ device_2
+
renders device panel with devices 1`] = `
>
Unverified
+ ·
+
+ device_3
+
renders device and correct security card when
>
Unverified
+ ·
+
+ alices_device
+
renders device and correct security card when
>
Unverified
+ ·
+
+ alices_device
+
renders a device with no metadata 1`] = `
>
Unverified
+ ·
+
+ 123
+
renders a verified device with no metadata 1`] = `
>
Unverified
+ ·
+
+ 123
+
renders display name with a tooltip 1`] = `
-
-
- My device
-
-
+ My device
+
@@ -130,6 +138,12 @@ exports[` renders display name with a tooltip 1`] = `
>
Unverified
+ ·
+
+ 123
+
separates metadata with a dot 1`] = `
>
1.2.3.4
+ ·
+
+ 123
+
renders unselected device tile with checkbox 1
-
-
- My Device
-
-
+ My Device
+
@@ -76,6 +72,12 @@ exports[` renders unselected device tile with checkbox 1
>
123.456.789
+ ·
+
+ my-device
+
renders current session section with a verified s
-
-
- Alices device
-
-
+ Alices device
+
@@ -102,6 +98,12 @@ exports[` renders current session section with a verified s
>
Verified
+ ·
+
+ alices_device
+
renders current session section with an unverifie
-
-
- Alices device
-
-
+ Alices device
+
@@ -202,6 +200,12 @@ exports[` renders current session section with an unverifie
>
Unverified
+ ·
+
+ alices_device
+
sets device verification status correctly 1`] = `
-
-
- Alices device
-
-
+ Alices device
+
@@ -302,6 +302,12 @@ exports[` sets device verification status correctly 1`] = `
>
Verified
+ ·
+
+ alices_device
+